Skip to content

Commit f9e5343

Browse files
authored
Merge pull request #2444 from tisnik/lcore-3466
LCORE-3466: Enable Ruff rule [PIE790] on CI and fix all problems found in sources
2 parents da64733 + 8802992 commit f9e5343

2 files changed

Lines changed: 2 additions & 3 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", "UP040", "RUF100", "B009", "B010", "DTZ005", "D202", "I001", "PLR1733", "RUF022", "TC004"]
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"]
250+
extend-select = ["TID251", "UP006", "UP007", "UP010", "UP017", "UP035", "UP040", "RUF100", "B009", "B010", "DTZ005", "D202", "I001", "PLR1733", "RUF022", "TC004", "PIE790"]
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", "PLW1510", "PYI034", "PYI064", "RET501"]
252252

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

tests/e2e/features/steps/place_holder.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ def place_holder_set_mcp_server_header(context: Context, header_value: str) -> N
1414
header_name (str): The name of the header to set.
1515
header_value (str): The value to set for the header.
1616
"""
17-
pass

0 commit comments

Comments
 (0)