Skip to content

Commit 8eea389

Browse files
authored
Merge pull request #2417 from tisnik/lcore-3431-enable-ruff-rule-up040
LCORE-3431: Enable Ruff rule UP040
2 parents 16fef74 + 7219b94 commit 8eea389

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ line-length = 88
247247
extend-exclude = ["tests/profiles/syntax_error.py"]
248248

249249
[tool.ruff.lint]
250-
extend-select = ["TID251", "UP006", "UP007", "UP010", "UP017", "UP035", "RUF100", "B009", "B010", "DTZ005", "D202", "I001", "PLR1733", "RUF022"]
251-
ignore = ["UP040", "UP047", "UP045", "BLE", "S", "C", "RUF", "SIM", "B017", "TRY004", "TRY201", "TRY203", "TRY401", "UP008", "UP012", "UP024", "UP041", "B008", "EXE001", "FURB129", "G201", "ISC004", "LOG014", "PERF402", "PIE790", "PLW1510", "PYI034", "PYI064", "RET501", "TC004"]
250+
extend-select = ["TID251", "UP006", "UP007", "UP010", "UP017", "UP035", "UP040", "RUF100", "B009", "B010", "DTZ005", "D202", "I001", "PLR1733", "RUF022"]
251+
ignore = ["UP047", "UP045", "BLE", "S", "C", "RUF", "SIM", "B017", "TRY004", "TRY201", "TRY203", "TRY401", "UP008", "UP012", "UP024", "UP041", "B008", "EXE001", "FURB129", "G201", "ISC004", "LOG014", "PERF402", "PIE790", "PLW1510", "PYI034", "PYI064", "RET501", "TC004"]
252252

253253
[tool.ruff.lint.flake8-tidy-imports.banned-api]
254254
unittest = { msg = "use pytest instead of unittest" }

0 commit comments

Comments
 (0)