mirror of
https://github.com/mandiant/capa.git
synced 2025-12-24 12:03:24 -08:00
29 lines
833 B
INI
29 lines
833 B
INI
[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
|
|
|
|
|
|
per-file-ignores =
|
|
# T201 print found.
|
|
#
|
|
# scripts are meant to print output
|
|
scripts/*: T201
|
|
# capa.exe is meant to print output
|
|
capa/main.py: T201
|
|
# IDA tests emit results to output window so need to print
|
|
tests/test_ida_features.py: T201
|
|
# utility used to find the Binary Ninja API via invoking python.exe
|
|
capa/features/extractors/binja/find_binja_api.py: T201 |