diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d8fe41e..a49c60f 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.14.2"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.5.0" + rev: "v0.5.2" hooks: - id: ruff-format - id: ruff diff --git a/tests/conftest.py b/tests/conftest.py index 89d46b0..a50bc0d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -45,7 +45,7 @@ def _remove_sphinx_projects(sphinx_test_tempdir: path) -> None: pass -@pytest.fixture() +@pytest.fixture def rootdir() -> path: return path(str(Path(__file__).parent) or ".").abspath() / "roots"