diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a410bb4..9038c83 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,7 @@ repos: - id: sort-simple-yaml - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.5.2' + rev: 'v0.6.7' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] @@ -32,7 +32,7 @@ repos: - id: codespell args: ['--ignore-words-list=fpr'] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.10.1 + rev: v1.11.2 hooks: - id: mypy additional_dependencies: ["jsonschema", "pydantic>1,<2", "pytest", "ruamel.yaml", "types-jsonschema"] diff --git a/tests.py b/tests.py index df729f9..191a2b7 100755 --- a/tests.py +++ b/tests.py @@ -17,7 +17,7 @@ invalid_dir = examples_dir / "invalid" -@pytest.fixture() +@pytest.fixture def schema() -> dict: return json.loads((root / "schema.json").read_text(encoding="utf-8"))