Skip to content

Commit 0df06a9

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5473846 commit 0df06a9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/config/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def empty_config(tox_ini_conf: ToxIniCreator) -> Config:
1515
return tox_ini_conf("")
1616

1717

18-
@pytest.fixture()
18+
@pytest.fixture
1919
def empty_toml_config(tox_toml_conf: ToxTomlCreator) -> Config:
2020
"""Make and return an empty TOML config file."""
2121
return tox_toml_conf("")

tests/config/loader/toml/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from pathlib import Path
1010

1111

12-
@pytest.fixture()
12+
@pytest.fixture
1313
def mk_toml_conf(tmp_path: Path) -> Callable[[str], dict[str, Any]]:
1414
def _func(raw: str) -> dict[str, Any]:
1515
filename = tmp_path / "demo.toml"

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class ToxTomlCreator(Protocol):
7272
def __call__(self, conf: str, override: Sequence[Override] | None = None) -> Config: ...
7373

7474

75-
@pytest.fixture()
75+
@pytest.fixture
7676
def tox_toml_conf(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> ToxTomlCreator:
7777
"""Return a factory for TOML config files."""
7878

0 commit comments

Comments
 (0)