diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 855c2fc..e664e98 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.28.6 + rev: 0.29.0 hooks: - id: check-github-workflows args: [ "--verbose" ] @@ -20,12 +20,12 @@ repos: - id: tox-ini-fmt args: ["-p", "fix"] - repo: https://github.com/tox-dev/pyproject-fmt - rev: "2.1.3" + rev: "2.1.4" hooks: - id: pyproject-fmt additional_dependencies: ["tox>=4.13"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.5.0" + rev: "v0.5.4" hooks: - id: ruff-format - id: ruff diff --git a/tests/test_print.py b/tests/test_print.py index b42c61f..5f08570 100644 --- a/tests/test_print.py +++ b/tests/test_print.py @@ -18,7 +18,7 @@ def test_version() -> None: assert pytest_print.__version__ is not None -@pytest.fixture() +@pytest.fixture def example(testdir: pytest.Testdir) -> pytest.Testdir: dest = Path(str(testdir.tmpdir)) / "test_example.py" copy2(str(_EXAMPLE), str(dest))