GoWelcome/ruff.toml

8 lines
332 B
TOML

# Ruff config for GoWelcome.
# main.py and the scripts insert the project root onto sys.path *before*
# importing project modules so GoWelcome runs from any working directory; that
# legitimately places those imports after code (E402), so ignore it there only.
[lint.per-file-ignores]
"main.py" = ["E402"]
"scripts/*.py" = ["E402"]