Ruff ignore F401 & F403 for init files
This commit is contained in:
parent
6541982dff
commit
715d4557af
|
@ -108,6 +108,9 @@ exclude = ["tests/artifacts/**/*.safetensors"]
|
||||||
[tool.ruff.lint]
|
[tool.ruff.lint]
|
||||||
select = ["E4", "E7", "E9", "F", "I", "N", "B", "C4", "SIM"]
|
select = ["E4", "E7", "E9", "F", "I", "N", "B", "C4", "SIM"]
|
||||||
|
|
||||||
|
[tool.ruff.lint.per-file-ignores]
|
||||||
|
"__init__.py" = ["F401", "F403"]
|
||||||
|
|
||||||
[tool.bandit]
|
[tool.bandit]
|
||||||
exclude_dirs = [
|
exclude_dirs = [
|
||||||
"tests",
|
"tests",
|
||||||
|
|
Loading…
Reference in New Issue