Skip to content

Commit 2a1aa43

Browse files
authored
Merge pull request road-core#142 from tisnik/fix-ruff-issues-
Fix Ruff issues
2 parents f2e7f6f + 7db200d commit 2a1aa43

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ols/app/metrics/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"llm_calls_validation_errors_total",
2222
"llm_token_received_total",
2323
"llm_token_sent_total",
24+
"provider_model_configuration",
2425
"response_duration_seconds",
2526
"rest_api_calls_total",
26-
"provider_model_configuration",
2727
"setup_model_metrics",
2828
]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ lint.select = ["D", "E", "F", "W", "C", "S", "I", "TCH", "SLOT", "RUF", "C90", "
66
# we need to check 'mood' of all docstrings, this needs to be enabled explicitly
77
lint.extend-select = ["D401"]
88

9-
lint.ignore = []
9+
lint.ignore = ["RUF021", "A004"]
1010

1111
target-version = "py311"
1212
lint.pydocstyle.convention = "google"

tests/e2e/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""End to end tests for the OLS service."""
22

3-
__all__ = ["test_api", "test_query_endpoint", "test_attachments"]
3+
__all__ = ["test_api", "test_attachments", "test_query_endpoint"]

0 commit comments

Comments
 (0)