Skip to content

Commit

Permalink
Update pre-commit hooks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Nov 28, 2022
1 parent e868bfe commit cdf0c71
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ exclude =
jsonschema/__init__.py
jsonschema/_reflect.py
ignore =
B008, # Barring function calls in default args. Ha, no.
B306, # See https://github.com/PyCQA/flake8-bugbear/issues/131
W503, # (flake8 default) old PEP8 boolean operator line breaks
# Barring function calls in default args. Ha, no.
B008,
# See https://github.com/PyCQA/flake8-bugbear/issues/131
B306,
# (flake8 default) old PEP8 boolean operator line breaks
W503,
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ exclude: json/

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: check-ast
- id: check-docstring-first
Expand Down

0 comments on commit cdf0c71

Please sign in to comment.