32 lines
1.4 KiB
TOML
32 lines
1.4 KiB
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/engine/answerer/common.py" = ["PLR0913"]
|
|
"atlasbot/engine/answerer/engine.py" = ["PLR0913"]
|
|
"atlasbot/engine/answerer/factsheet.py" = ["PLR0912"]
|
|
"atlasbot/engine/answerer/workflow.py" = ["PLR0911", "PLR0912", "PLR0913", "PLR0915"]
|
|
"atlasbot/engine/answerer/workflow_post.py" = ["PLR0912", "PLR0913", "PLR0915"]
|
|
"atlasbot/main.py" = ["PLR0913"]
|
|
"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"]
|
|
"atlasbot/snapshot/builder/format_a.py" = ["PLR0912"]
|
|
"atlasbot/snapshot/builder/format_b.py" = ["PLR0912", "PLR0915"]
|
|
"atlasbot/snapshot/builder/format_c.py" = ["PLR0912"]
|
|
"atlasbot/snapshot/builder/summary_text.py" = ["PLR0915"]
|
|
"testing/*.py" = ["PLR0911", "ARG002", "PLR2004"]
|
|
"tests/*.py" = ["PLR0913", "PLR2004", "I001", "ARG001", "ARG002", "ARG005", "C901", "PLR0915", "UP037"]
|
|
"scripts/*.py" = ["PLR0911", "PLR2004"]
|