Skip to content

Commit 86a75ee

Browse files
committed
style: update ruff in pre-commit and format
1 parent 22281c9 commit 86a75ee

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repos:
88
- id: trailing-whitespace
99
- repo: https://github.com/astral-sh/ruff-pre-commit
1010
# Ruff version.
11-
rev: v0.4.5
11+
rev: v0.5.4
1212
hooks:
1313
# Run the linter.
1414
- id: ruff

tests/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
import pytest
22

33

4-
@pytest.fixture()
4+
@pytest.fixture
55
def test_id() -> str:
66
return "class_cache.tests.id"
77

88

9-
@pytest.fixture()
9+
@pytest.fixture
1010
def test_key() -> str:
1111
return "class_cache.tests.key"
1212

1313

14-
@pytest.fixture()
14+
@pytest.fixture
1515
def test_value() -> list[str]:
1616
# Return a list to test that unhashable types can also be stored
1717
return ["class_cache.tests.value"]

0 commit comments

Comments
 (0)