Skip to content

Commit b8f7f72

Browse files
authored
Merge pull request #124 from kurtmckee/update-pre-commit-hooks
Update pre commit hooks
2 parents 25bb318 + ad8de4b commit b8f7f72

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repos:
44
hooks:
55
- id: isort
66
- repo: https://github.com/psf/black
7-
rev: 22.3.0
7+
rev: 22.10.0
88
hooks:
99
- id: black
1010
args: [ '--safe' ]
@@ -18,12 +18,17 @@ repos:
1818
# E203 black conflicts with "whitespace before ':'" rule
1919
'--ignore=E501,W503,E203,C901' ]
2020
- repo: https://github.com/pre-commit/mirrors-mypy
21-
rev: v0.942
21+
rev: v0.991
2222
hooks:
2323
- id: mypy
2424
exclude: /tests/
2525
# --strict
26-
args: [--no-strict-optional, --ignore-missing-imports, --implicit-reexport]
26+
args: [
27+
--no-strict-optional,
28+
--ignore-missing-imports,
29+
--implicit-reexport,
30+
--explicit-package-bases,
31+
]
2732
additional_dependencies: [
2833
"types-attrs",
2934
"types-requests"

0 commit comments

Comments
 (0)