Both directories are ruff-clean now; keeping them in the lint scope stops the scripts from rotting. Notebooks are excluded from ruff because Jupyter cells follow shell-magic and #@param conventions instead of repo style.
16 lines
391 B
TOML
16 lines
391 B
TOML
line-length = 100
|
|
target-version = "py310"
|
|
|
|
# Jupyter/Colab cells follow notebook conventions (shell magics, #@param
|
|
# pragmas, imports mid-cell), not the repo's Python style.
|
|
extend-exclude = ["*.ipynb"]
|
|
|
|
[lint]
|
|
select = ["E", "F", "I", "W", "UP", "B"]
|
|
ignore = ["B008"]
|
|
|
|
[lint.per-file-ignores]
|
|
"backend/tests/*" = ["E501"]
|
|
"backend/alembic/versions/*" = ["E501"]
|
|
"bot/tests/*" = ["E501"]
|