From 6d613239ef2a270010b83b3d9dc0be55c6c2e8e1 Mon Sep 17 00:00:00 2001 From: Oscar-Garcia Date: Mon, 27 Jun 2016 17:28:52 +0200 Subject: [PATCH] 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. --- hooks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks.yaml b/hooks.yaml index 08f01c5..340813d 100644 --- a/hooks.yaml +++ b/hooks.yaml @@ -115,7 +115,7 @@ name: Flake8 description: This hook runs flake8. entry: flake8 - language: python + language: system files: \.py$ - id: name-tests-test name: Tests should end in _test.py