mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2026-06-19 07:35:19 +00:00
Update Ruff to v0.15.0 (#5122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: poolitzer <github@poolitzer.eu>
This commit is contained in:
+2
-2
@@ -133,7 +133,7 @@ docs = [
|
||||
]
|
||||
linting = [
|
||||
"pre-commit",
|
||||
"ruff==0.14.14",
|
||||
"ruff==0.15.0",
|
||||
"mypy==1.18.2",
|
||||
"pylint==4.0.4"
|
||||
]
|
||||
@@ -165,7 +165,7 @@ show-fixes = true
|
||||
|
||||
[tool.ruff.lint]
|
||||
typing-extensions = false
|
||||
ignore = ["PLR2004", "PLR0911", "PLR0912", "PLR0913", "PLR0915", "PERF203"]
|
||||
ignore = ["PLR2004", "PLR0911", "PLR0912", "PLR0913", "PLR0915", "PERF203", "ASYNC240"]
|
||||
select = ["E", "F", "I", "PL", "UP", "RUF", "PTH", "C4", "B", "PIE", "SIM", "RET", "RSE",
|
||||
"G", "ISC", "PT", "ASYNC", "TCH", "SLOT", "PERF", "PYI", "FLY", "AIR", "RUF022",
|
||||
"RUF023", "Q", "INP", "W", "YTT", "DTZ", "ARG", "T20", "FURB", "DOC", "TRY",
|
||||
|
||||
Reference in New Issue
Block a user