Add Fix End of Files to hooks
This commit is contained in:
parent
7673990291
commit
8aa14d218d
|
@ -1,15 +1,17 @@
|
|||
|
||||
- repo: git@github.com:pre-commit/pre-commit-hooks
|
||||
sha: 12794c1c19c001e3d05bcfe316b4f93b414035a7
|
||||
sha: 76739902911688e8d7b13241409f9facc0e534e4
|
||||
hooks:
|
||||
- id: pyflakes
|
||||
files: '\.py$'
|
||||
- id: debug-statements
|
||||
files: '\.py$'
|
||||
- id: trailing-whitespace
|
||||
files: '\.(py|sh|yaml)'
|
||||
files: '\.(py|sh|yaml)$'
|
||||
- id: name-tests-test
|
||||
files: 'tests/.*\.py'
|
||||
- id: end-of-file-fixer
|
||||
files: '\.(py|sh|yaml)$'
|
||||
|
||||
- repo: git@github.com:pre-commit/pre-commit
|
||||
sha: c77d65d9cbbcf30e2be005f5ba8b63447deedc1e
|
||||
|
|
|
@ -53,4 +53,4 @@ def test_returns_one_form_2(ast_with_debug_import_form_2):
|
|||
visitor.visit(ast_with_debug_import_form_2)
|
||||
assert visitor.debug_import_statements == [
|
||||
DebugStatement('pudb', 3, 0)
|
||||
]
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue