Skip to content

Commit 4567887

Browse files
authored
Merge pull request #2697 from bagerard/Fix_issue_flake8_importlib
Fix issue with flake8 and importlib_metadata 5.0
2 parents a5f1508 + 83146ec commit 4567887

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,17 @@ repos:
88
- id: trailing-whitespace
99
- id: end-of-file-fixer
1010
- repo: https://github.com/ambv/black
11-
rev: 22.8.0
11+
rev: 22.10.0
1212
hooks:
1313
- id: black
1414
- repo: https://gitlab.com/pycqa/flake8
1515
rev: 3.9.2
1616
hooks:
1717
- id: flake8
18+
additional_dependencies:
19+
- importlib_metadata<5
1820
- repo: https://github.com/asottile/pyupgrade
19-
rev: v2.37.3
21+
rev: v3.1.0
2022
hooks:
2123
- id: pyupgrade
2224
args: [--py36-plus]

0 commit comments

Comments
 (0)