Skip to content

Commit ffafc60

Browse files
[pre-commit.ci] pre-commit autoupdate (#235)
<!--pre-commit.ci start--> updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.14 → v0.15.5](astral-sh/ruff-pre-commit@v0.14.14...v0.15.5) <!--pre-commit.ci end--> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: PGijsbers <p.gijsbers@tue.nl>
1 parent 6dc95a1 commit ffafc60

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ repos:
2626
- pytest
2727

2828
- repo: https://github.com/astral-sh/ruff-pre-commit
29-
rev: 'v0.14.14'
29+
rev: 'v0.15.5'
3030
hooks:
3131
- id: ruff
3232
args: [--fix]

tests/routers/openml/datasets_list_datasets_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def test_list_data_identical(
266266

267267
# Pagination parameters are nested in the new query style
268268
# The old style has no `limit` by default, so we mimic this with a high default
269-
new_style = kwargs | {"pagination": {"limit": limit if limit else 1_000_000}}
269+
new_style = kwargs | {"pagination": {"limit": limit or 1_000_000}}
270270
if offset is not None:
271271
new_style["pagination"]["offset"] = offset
272272

tests/routers/openml/qualities_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def test_get_quality_identical_error(
310310
) -> None:
311311
if data_id in [55, 56, 59]:
312312
pytest.skip("Detailed error for code 364 (failed processing) not yet supported.")
313-
if data_id in [116]:
313+
if data_id in [116]: # noqa: FURB171
314314
pytest.skip("Detailed error for code 362 (no qualities) not yet supported.")
315315
php_response = php_api.get(f"/data/qualities/{data_id}")
316316
python_response = py_api.get(f"/datasets/qualities/{data_id}")

0 commit comments

Comments
 (0)