22 lines
818 B
TOML
22 lines
818 B
TOML
|
|
[tool.pytest.ini_options]
|
||
|
|
testpaths = ["tests", "testing"]
|
||
|
|
pythonpath = ["."]
|
||
|
|
|
||
|
|
[tool.ruff]
|
||
|
|
line-length = 100
|
||
|
|
target-version = "py312"
|
||
|
|
|
||
|
|
[tool.ruff.lint]
|
||
|
|
select = ["E", "F", "W", "B", "C90", "I", "PLR", "RUF", "SIM", "UP", "ARG"]
|
||
|
|
ignore = ["E501"]
|
||
|
|
|
||
|
|
[tool.ruff.lint.per-file-ignores]
|
||
|
|
"atlasbot/engine/answerer/*.py" = ["F403", "F405", "I001"]
|
||
|
|
"atlasbot/engine/answerer/__init__.py" = ["C90", "PLR", "SIM", "ARG", "RUF", "UP", "I001"]
|
||
|
|
"atlasbot/matrix/bot.py" = ["C90", "PLR", "SIM", "ARG", "RUF", "UP", "I001"]
|
||
|
|
"atlasbot/snapshot/builder/__init__.py" = ["F403", "F405", "I001"]
|
||
|
|
"atlasbot/snapshot/builder/*.py" = ["F403", "F405", "I001"]
|
||
|
|
"testing/*.py" = ["PLR0911", "ARG002", "PLR2004"]
|
||
|
|
"tests/*.py" = ["PLR2004", "I001", "ARG001", "ARG002", "ARG005", "C901", "PLR0915", "UP037"]
|
||
|
|
"scripts/*.py" = ["PLR0911", "PLR2004"]
|