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:
Oscar-Garcia 2016-06-27 17:28:52 +02:00 committed by GitHub
parent 144c3857cd
commit 6d613239ef

View file

@ -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