diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6d836ef..9d15a22 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.2.0 + rev: v4.1.0 hooks: - id: check-yaml - id: end-of-file-fixer @@ -15,23 +15,23 @@ repos: - id: check-merge-conflict - repo: https://github.com/jorisroovers/gitlint - rev: v0.13.1 + rev: v0.17.0 hooks: - id: gitlint - repo: https://github.com/adrienverge/yamllint - rev: v1.24.2 + rev: v1.26.3 hooks: - id: yamllint - repo: https://github.com/ambv/black - rev: 20.8b1 + rev: 22.3.0 hooks: - id: black types: [python] - repo: https://github.com/pre-commit/mirrors-isort - rev: v5.4.2 + rev: v5.10.1 hooks: - id: isort additional_dependencies: ["isort[pyproject]"] diff --git a/bindings/python/tests-py/test_jsonschema.py b/bindings/python/tests-py/test_jsonschema.py index fb25519..029b353 100644 --- a/bindings/python/tests-py/test_jsonschema.py +++ b/bindings/python/tests-py/test_jsonschema.py @@ -32,7 +32,7 @@ def test_schema_processing(func, instance): @pytest.mark.parametrize("func", (is_valid, validate)) def test_invalid_schema(func): with pytest.raises(ValueError): - func(2 ** 64, True) + func(2**64, True) @pytest.mark.parametrize("func", (is_valid, validate))