Skip to content

Commit fb14176

Browse files
authored
Merge pull request #2846 from tisnik/lcore-4200-enable-all-isc-rules-on-ci
LCORE-4200: Enable all ISC Ruff rules on CI
2 parents 5cc9340 + 5f7a68b commit fb14176

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ extend-exclude = ["tests/profiles/syntax_error.py"]
258258

259259
[tool.ruff.lint]
260260
extend-select = ["C", "FA", "FLY", "I", "ISC", "TID251", "UP006", "UP007", "UP008", "UP010", "UP012", "UP017", "UP024", "UP035", "UP040", "UP041", "RUF100", "B009", "B010", "B011", "BLE", "DTZ005", "D202", "PLR1733", "RUF022", "PLW1510", "TC004", "PIE790", "PERF402", "FURB129", "RET501", "LOG"]
261-
ignore = ["UP047", "UP045", "S", "C901", "RUF", "SIM", "B017", "TRY004", "TRY201", "TRY203", "TRY401", "B008", "EXE001", "G201", "ISC004", "PYI034", "PYI064"]
261+
ignore = ["UP047", "UP045", "S", "C901", "RUF", "SIM", "B017", "TRY004", "TRY201", "TRY203", "TRY401", "B008", "EXE001", "G201", "PYI034", "PYI064"]
262262

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

‎tests/unit/app/endpoints/test_health.py‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,10 @@ async def test_readiness_probe_fails_when_model_not_available(
144144
)
145145
mock_check_model.return_value = (
146146
False,
147-
"Default model google-vertex/publishers/google/models/gemini-2.5-flash "
148-
"not found in model registry",
147+
(
148+
"Default model google-vertex/publishers/google/models/gemini-2.5-flash "
149+
"not found in model registry"
150+
),
149151
)
150152

151153
mock_response = mocker.Mock()

0 commit comments

Comments
 (0)