18 lines
429 B
TOML
18 lines
429 B
TOML
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py312"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "B", "W", "C4", "SIM", "PIE"]
|
|
ignore = ["E501"]
|
|
|
|
[tool.black]
|
|
line-length = 120
|
|
target-version = ["py312"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
# Чтобы pytest видел пакеты из корня репозитория (common, bot) при запуске из CI.
|
|
pythonpath = ["."]
|