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 <noreply@anthropic.com>
This commit is contained in:
@@ -90,7 +90,7 @@ unfixable = []
|
|||||||
# Alembic migrations can have longer lines and specific patterns
|
# Alembic migrations can have longer lines and specific patterns
|
||||||
"alembic/versions/*.py" = ["E501", "F401"]
|
"alembic/versions/*.py" = ["E501", "F401"]
|
||||||
# Scripts: late imports, intentional import-for-side-effect checks, loop vars, syntax
|
# 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"]
|
"scripts/rename_terminology.py" = ["ALL"]
|
||||||
|
|
||||||
# Import sorting configuration (replaces isort)
|
# Import sorting configuration (replaces isort)
|
||||||
|
|||||||
Reference in New Issue
Block a user