Skip to content

Commit

Permalink
Merge pull request #869 from marshmallow-code/pre-commit-autoupdate
Browse files Browse the repository at this point in the history
pre-commit autoupdate
  • Loading branch information
lafrech committed Aug 8, 2023
2 parents 0835ede + 318d141 commit 34ece8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v3.9.0
rev: v3.10.1
hooks:
- id: pyupgrade
args: ["--py37-plus"]
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.23.3
rev: 0.24.0
hooks:
- id: check-github-workflows
- id: check-readthedocs
Expand All @@ -14,10 +14,10 @@ repos:
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
additional_dependencies: ['flake8-bugbear==23.1.17']
additional_dependencies: ['flake8-bugbear==23.7.10']
- repo: https://github.com/asottile/blacken-docs
rev: 1.15.0
hooks:
Expand Down
4 changes: 2 additions & 2 deletions tests/test_flaskparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def validate(x):
assert abort_args[0] == 422
expected_msg = "Invalid value."
assert abort_kwargs["messages"]["json"]["value"] == [expected_msg]
assert type(abort_kwargs["exc"]) == ValidationError
assert type(abort_kwargs["exc"]) is ValidationError


@pytest.mark.asyncio
Expand Down Expand Up @@ -202,7 +202,7 @@ def validate(x):
assert abort_args[0] == 422
expected_msg = "Invalid value."
assert abort_kwargs["messages"]["json"]["value"] == [expected_msg]
assert type(abort_kwargs["exc"]) == ValidationError
assert type(abort_kwargs["exc"]) is ValidationError


@pytest.mark.parametrize("mimetype", [None, "application/json"])
Expand Down

0 comments on commit 34ece8e

Please sign in to comment.