Files
Motrixlab/ruff.toml
motphys-developers 5133830b5a chore: release v0.0.1
2025-11-20 17:39:31 +08:00

23 lines
619 B
TOML

# https://docs.astral.sh/ruff/settings/
line-length = 120
output-format = "concise"
exclude = ["*.pyi"]
[lint]
# Enable isort (I), Pyflakes (`F`) and pycodestyle (E, W)
select = ["I", "E", "F", "W"]
# E741: Ambiguous variable name
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
ignore = ["E111", "E114", "E117", "E741"]
[lint.per-file-ignores]
# Ignore `F401` (imported but unused) in all `__init__.py` files`.
"__init__.py" = ["F401", "F403"]
[lint.isort]
known-first-party = ["motrix_envs", "motrix_rl"]
[format]
# Enable reformatting of code snippets in docstrings.
docstring-code-format = true