move flake8 config to its own config file

This commit is contained in:
Willi Ballenthin
2023-07-09 22:35:53 +02:00
parent 7fe738e28f
commit 106b12e2a4
2 changed files with 18 additions and 12 deletions

16
.github/flake8.ini vendored Normal file
View File

@@ -0,0 +1,16 @@
[flake8]
max-line-length = 120
extend-ignore =
# E203: whitespace before ':' (black does this)
E203,
# F401: `foo` imported but unused (prefer ruff)
F401,
# F811 Redefinition of unused `foo` (prefer ruff)
F811,
# E501 line too long (prefer black)
E501,
# B010 Do not call setattr with a constant attribute value
B010,
# G200 Logging statement uses exception in arguments
G200