Skip to content

Commit 8ce1876

Browse files
committed
Update pre-commit hooks.
1 parent feabe05 commit 8ce1876

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.flake8

+6-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
ban-relative-imports = true
33
inline-quotes = "
44
ignore =
5-
B008, # Barring function calls in default args. Ha, no.
6-
B306, # See https://github.com/PyCQA/flake8-bugbear/issues/131
7-
W503, # (flake8 default) old PEP8 boolean operator line breaks
5+
# Barring function calls in default args. Ha, no.
6+
B008,
7+
# See https://github.com/PyCQA/flake8-bugbear/issues/131
8+
B306,
9+
# (flake8 default) old PEP8 boolean operator line breaks
10+
W503,

.pre-commit-config.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.3.0
3+
rev: v4.4.0
44
hooks:
55
- id: check-ast
66
- id: check-docstring-first
@@ -17,15 +17,15 @@ repos:
1717
hooks:
1818
- id: isort
1919
- repo: https://github.com/pycqa/flake8
20-
rev: "5.0.4"
20+
rev: "6.0.0"
2121
hooks:
2222
- id: flake8
2323
- repo: https://github.com/asottile/pyupgrade
24-
rev: v2.38.2
24+
rev: v3.2.2
2525
hooks:
2626
- id: pyupgrade
2727
- repo: https://github.com/psf/black
28-
rev: 22.8.0
28+
rev: 22.10.0
2929
hooks:
3030
- name: black
3131
id: black

0 commit comments

Comments
 (0)