From 363eb74d22b1bbb45d0368fbe4ea115354d8ee9e Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Thu, 12 Feb 2026 23:33:36 +0100 Subject: [PATCH] fix(lint): ignore I001 in scripts to avoid ruff version conflicts Local and CI ruff versions disagree on import ordering for alembic. Added I001 to per-file ignores for scripts. Co-Authored-By: Claude Opus 4.6 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 599a18de..e0be0e2c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -90,7 +90,7 @@ unfixable = [] # Alembic migrations can have longer lines and specific patterns "alembic/versions/*.py" = ["E501", "F401"] # Scripts: late imports, intentional import-for-side-effect checks, loop vars, syntax -"scripts/**/*.py" = ["E402", "F401", "B007", "B015", "B024", "B027"] +"scripts/**/*.py" = ["E402", "F401", "I001", "B007", "B015", "B024", "B027"] "scripts/rename_terminology.py" = ["ALL"] # Import sorting configuration (replaces isort)