python-telegram-bot/pyproject.toml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
583 B
TOML
Raw Normal View History

[tool.black]
line-length = 99
target-version = ['py38', 'py39', 'py310', 'py311']
[tool.isort] # black config
profile = "black"
line_length = 99
[tool.ruff]
line-length = 99
target-version = "py38"
2023-03-25 19:18:04 +01:00
show-fixes = true
ignore = ["PLR2004", "PLR0911", "PLR0912", "PLR0913", "PLR0915"]
select = ["E", "F", "I", "PL", "UP", "RUF", "PTH", "C4", "B", "PIE", "SIM", "RET", "RSE",
2023-06-29 11:38:09 +02:00
"G", "ISC", "PT", "ASYNC", "TCH", "CPY", "SLOT", "PERF",]
[tool.ruff.per-file-ignores]
"tests/*.py" = ["B018"]
2023-06-29 11:38:09 +02:00
"**/__init__.py" = ["CPY001"]
"examples/**.py" = ["CPY001"]
"tests/**.py" = ["RUF012"]