From 715d4557af6009dfa9174eab29918b5a874b9e32 Mon Sep 17 00:00:00 2001 From: Simon Alibert Date: Fri, 21 Mar 2025 11:22:02 +0100 Subject: [PATCH] Ruff ignore F401 & F403 for init files --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index d8cfcfa4..8d285bd7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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",