mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
fix
This commit is contained in:
parent
8b2066fb27
commit
e4dbcd549b
3 changed files with 14 additions and 29 deletions
|
|
@ -1,28 +1,4 @@
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/tom-aa/pre-commit-hooks
|
||||||
sha: v0.8.0
|
sha: demo
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: pep8-check
|
||||||
- id: end-of-file-fixer
|
|
||||||
- id: autopep8-wrapper
|
|
||||||
- id: check-docstring-first
|
|
||||||
- id: check-json
|
|
||||||
- id: check-added-large-files
|
|
||||||
- id: check-yaml
|
|
||||||
- id: debug-statements
|
|
||||||
- id: name-tests-test
|
|
||||||
- id: requirements-txt-fixer
|
|
||||||
- id: flake8
|
|
||||||
- repo: https://github.com/pre-commit/pre-commit
|
|
||||||
sha: v0.12.2
|
|
||||||
hooks:
|
|
||||||
- id: validate_config
|
|
||||||
- id: validate_manifest
|
|
||||||
- repo: https://github.com/asottile/reorder_python_imports
|
|
||||||
sha: v0.3.1
|
|
||||||
hooks:
|
|
||||||
- id: reorder-python-imports
|
|
||||||
language_version: python2.7
|
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
|
||||||
sha: v1.0.0
|
|
||||||
hooks:
|
|
||||||
- id: pyupgrade
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
- id: autopep8-wrapper
|
- id: autopep8-wrapper
|
||||||
name: autopep8 wrapper
|
name: autopep8 wrapper
|
||||||
description: "Runs autopep8 over python source. If you configure additional arguments you'll want to at least include -i."
|
description: "Runs autopep8 over python source. If you configure additional arguments you'll want to at least include -i."
|
||||||
entry: autopep8-wrapper
|
entry: autopep8-wrapper
|
||||||
language: python
|
language: python
|
||||||
files: \.py$
|
files: \.py$
|
||||||
args: [-i]
|
args: [-i]
|
||||||
|
|
|
||||||
11
setup.py
11
setup.py
|
|
@ -1,8 +1,17 @@
|
||||||
from setuptools import find_packages
|
fom setuptools import find_packages
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
|
i
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#123123
|
||||||
setup(
|
setup(
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
name='pre_commit_hooks',
|
name='pre_commit_hooks',
|
||||||
description='Some out-of-the-box hooks for pre-commit.',
|
description='Some out-of-the-box hooks for pre-commit.',
|
||||||
url='https://github.com/pre-commit/pre-commit-hooks',
|
url='https://github.com/pre-commit/pre-commit-hooks',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue