Skip to content

Commit 34bc6fc

Browse files
Enforce ruff/flake8-pytest-style rule PT001
PT001 Use `@pytest.fixture` over `@pytest.fixture()`
1 parent 85eb7aa commit 34bc6fc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

numcodecs/tests/test_entrypoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
here = os.path.abspath(os.path.dirname(__file__))
99

1010

11-
@pytest.fixture()
11+
@pytest.fixture
1212
def set_path():
1313
sys.path.append(here)
1414
numcodecs.registry.run_entrypoints()

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ extend-select = [
150150
ignore = [
151151
"B028",
152152
"B904",
153-
"PT001",
154153
"PT004", # deprecated
155154
"PT005", # deprecated
156155
"PT011",

0 commit comments

Comments
 (0)