We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22281c9 commit 86a75eeCopy full SHA for 86a75ee
.pre-commit-config.yaml
@@ -8,7 +8,7 @@ repos:
8
- id: trailing-whitespace
9
- repo: https://github.com/astral-sh/ruff-pre-commit
10
# Ruff version.
11
- rev: v0.4.5
+ rev: v0.5.4
12
hooks:
13
# Run the linter.
14
- id: ruff
tests/conftest.py
@@ -1,17 +1,17 @@
1
import pytest
2
3
4
-@pytest.fixture()
+@pytest.fixture
5
def test_id() -> str:
6
return "class_cache.tests.id"
7
def test_key() -> str:
return "class_cache.tests.key"
15
def test_value() -> list[str]:
16
# Return a list to test that unhashable types can also be stored
17
return ["class_cache.tests.value"]
0 commit comments