add mirrors-yapf (#3096)
parent
4092cabf77
commit
b250aec615
|
@ -0,0 +1,7 @@
|
||||||
|
- id: yapf
|
||||||
|
name: yapf
|
||||||
|
entry: yapf
|
||||||
|
language: python
|
||||||
|
files: \.py$
|
||||||
|
args: [-i]
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
0.13.2
|
|
@ -0,0 +1,18 @@
|
||||||
|
yapf mirror
|
||||||
|
=============
|
||||||
|
|
||||||
|
Mirror of yapf package for pre-commit.
|
||||||
|
|
||||||
|
For pre-commit: see https://github.com/pre-commit/pre-commit
|
||||||
|
|
||||||
|
For yapf: see https://github.com/google/yapf
|
||||||
|
|
||||||
|
|
||||||
|
### Using yapf with pre-commit
|
||||||
|
|
||||||
|
Add this to your `.pre-commit-config.yaml`:
|
||||||
|
|
||||||
|
- repo: git://github.com/pre-commit/mirrors-yapf
|
||||||
|
sha: '' # Use the sha / tag you want to point at
|
||||||
|
hooks:
|
||||||
|
- id: yapf
|
|
@ -0,0 +1,7 @@
|
||||||
|
- id: yapf
|
||||||
|
name: yapf
|
||||||
|
entry: yapf
|
||||||
|
language: python
|
||||||
|
files: \.py$
|
||||||
|
args: [-i]
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Metadata-Version: 2.1
|
||||||
|
Name: pre-commit-dummy-package
|
||||||
|
Version: 0.0.0
|
||||||
|
Requires-Dist: yapf==0.13.2
|
|
@ -0,0 +1,7 @@
|
||||||
|
README.md
|
||||||
|
setup.py
|
||||||
|
pre_commit_dummy_package.egg-info/PKG-INFO
|
||||||
|
pre_commit_dummy_package.egg-info/SOURCES.txt
|
||||||
|
pre_commit_dummy_package.egg-info/dependency_links.txt
|
||||||
|
pre_commit_dummy_package.egg-info/requires.txt
|
||||||
|
pre_commit_dummy_package.egg-info/top_level.txt
|
|
@ -0,0 +1 @@
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
yapf==0.13.2
|
|
@ -0,0 +1 @@
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
from setuptools import setup
|
||||||
|
|
||||||
|
setup(
|
||||||
|
name='pre_commit_dummy_package',
|
||||||
|
version='0.0.0',
|
||||||
|
install_requires=['yapf==0.13.2'], )
|
Loading…
Reference in New Issue