mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
Update hooks.yaml
I am not sure but I think flake should be run as a system script not as a python script. I did some tests with files that have pep8 errors and flake8 hook seems not detect them.
This commit is contained in:
parent
144c3857cd
commit
6d613239ef
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@
|
||||||
name: Flake8
|
name: Flake8
|
||||||
description: This hook runs flake8.
|
description: This hook runs flake8.
|
||||||
entry: flake8
|
entry: flake8
|
||||||
language: python
|
language: system
|
||||||
files: \.py$
|
files: \.py$
|
||||||
- id: name-tests-test
|
- id: name-tests-test
|
||||||
name: Tests should end in _test.py
|
name: Tests should end in _test.py
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue