Browse code

fix flake8 config and re-enable pre-commit flake8

Joseph Weston authored on 17/12/2019 10:55:22
Showing 2 changed files
... ...
@@ -11,10 +11,7 @@ repos:
11 11
       exclude: '.bumpversion.cfg'
12 12
     - id: trailing-whitespace
13 13
       exclude: '.bumpversion.cfg'
14
-# Disable this until 3.8.0 is released (as explained in
15
-# https://gitlab.com/pycqa/flake8/issues/450)
16
-#-   repo: https://gitlab.com/pycqa/flake8
17
-#    rev: 3.8.0
18
-#    hooks:
19
-#    - id: flake8
20
-#      args: ['--config=tox.ini']
14
+-   repo: https://gitlab.com/pycqa/flake8
15
+    rev: 3.7.9
16
+    hooks:
17
+    - id: flake8
... ...
@@ -67,7 +67,7 @@ ignore =
67 67
   W503,
68 68
 per-file-ignores =
69 69
   __init__.py: F401
70
--max-complexity = 18
70
+max-complexity = 18
71 71
 select = B, C, E, F, W, T4, B9
72 72
 exclude =
73 73
   .git,