Skip to content

Commit f46d1f7

Browse files
committed
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: pre-commit/pre-commit-hooks#112 https://gitlab.com/pycqa/flake8/issues/10
1 parent 757ae68 commit f46d1f7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.flake8

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)