mirror of
https://github.com/mandiant/capa.git
synced 2026-01-08 03:11:05 -08:00
fix ruff issues
This commit is contained in:
10
.github/ruff.toml
vendored
10
.github/ruff.toml
vendored
@@ -43,5 +43,11 @@ exclude = [
|
||||
]
|
||||
|
||||
[per-file-ignores]
|
||||
#"__init__.py" = ["E402"]
|
||||
#"path/to/file.py" = ["E402"]
|
||||
# until we address #1592 and move test fixtures into conftest.py
|
||||
# then we need to ignore imports done to enable pytest fixtures.
|
||||
#
|
||||
# F401: `foo` imported but unused
|
||||
# F811 Redefinition of unused `foo`
|
||||
"tests/test_main.py" = ["F401", "F811"]
|
||||
"tests/test_freeze.py" = ["F401", "F811"]
|
||||
"tests/test_function_id.py" = ["F401", "F811"]
|
||||
|
||||
Reference in New Issue
Block a user