mirror of
https://github.com/mandiant/capa.git
synced 2026-01-07 02:04:11 -08:00
move flake8 config to its own config file
This commit is contained in:
16
.github/flake8.ini
vendored
Normal file
16
.github/flake8.ini
vendored
Normal 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
|
||||
Reference in New Issue
Block a user