chore: Update pre-commit
This commit is contained in:
parent
7a16674c0a
commit
7924d55af7
|
@ -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]"]
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue