Browse code

add flake config that mirrors pre-commit config

We cannot configure pre-commit to use the config file, so
we have to replicate the config explicitly. See:
https://github.com/pre-commit/pre-commit-hooks/issues/112
https://gitlab.com/pycqa/flake8/issues/10

Joseph Weston authored on 21/11/2019 12:27:16
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,5 @@
1
+[flake8]
2
+max-line-length = 500
3
+ignore = E203,E266,E501,W503
4
+max-complexity = 18
5
+select = B,C,E,F,W,T4,B9