Ruff ignore F401 & F403 for init files

This commit is contained in:
Simon Alibert 2025-03-21 11:22:02 +01:00
parent 6541982dff
commit 715d4557af
1 changed files with 3 additions and 0 deletions

View File

@ -108,6 +108,9 @@ exclude = ["tests/artifacts/**/*.safetensors"]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I", "N", "B", "C4", "SIM"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "F403"]
[tool.bandit]
exclude_dirs = [
"tests",