mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 12:06:53 +00:00
Only return nonzero when rewriting whitespace
This commit is contained in:
parent
46251c9523
commit
81147337c5
3 changed files with 34 additions and 12 deletions
|
|
@ -1,5 +1,5 @@
|
|||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
sha: 9ba5af45ce2d29b64c9a348a6fcff5553eea1f2c
|
||||
sha: v0.7.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
|
|
@ -13,12 +13,12 @@
|
|||
- id: requirements-txt-fixer
|
||||
- id: flake8
|
||||
- repo: https://github.com/pre-commit/pre-commit
|
||||
sha: 8dba3281d5051060755459dcf88e28fc26c27526
|
||||
sha: v0.12.2
|
||||
hooks:
|
||||
- id: validate_config
|
||||
- id: validate_manifest
|
||||
- repo: https://github.com/asottile/reorder_python_imports
|
||||
sha: 3d86483455ab5bd06cc1069fdd5ac57be5463f10
|
||||
sha: v0.3.1
|
||||
hooks:
|
||||
- id: reorder-python-imports
|
||||
language_version: python2.7
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue