Skip to content

Commit 5a87b76

Browse files
Merge pull request #779 from RonnyPfannschmidt/pre-commit-upgrade
pre-commit hooks upgrade
2 parents 9a79676 + a0e39fa commit 5a87b76

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ default_language_version:
22
python: python3.9
33
repos:
44
- repo: https://github.com/psf/black
5-
rev: 22.6.0
5+
rev: 22.10.0
66
hooks:
77
- id: black
88
args: [--safe, --quiet]
99
- repo: https://github.com/asottile/reorder_python_imports
10-
rev: v3.3.0
10+
rev: v3.9.0
1111
hooks:
1212
- id: reorder-python-imports
1313
args: [ "--application-directories=.:src" , --py37-plus, --add-import, 'from __future__ import annotations']
@@ -19,20 +19,21 @@ repos:
1919
- id: check-yaml
2020
- id: debug-statements
2121
- repo: https://github.com/PyCQA/flake8
22-
rev: 4.0.1
22+
rev: 5.0.4
2323
hooks:
2424
- id: flake8
2525
- repo: https://github.com/asottile/pyupgrade
26-
rev: v2.34.0
26+
rev: v3.2.0
2727
hooks:
2828
- id: pyupgrade
2929
args: [--py37-plus]
3030
- repo: https://github.com/asottile/setup-cfg-fmt
31-
rev: v1.20.1
31+
rev: v2.2.0
3232
hooks:
3333
- id: setup-cfg-fmt
34+
args: [ --include-version-classifiers ]
3435
- repo: https://github.com/pre-commit/mirrors-mypy
35-
rev: 'v0.961'
36+
rev: 'v0.982'
3637
hooks:
3738
- id: mypy
3839
args: [--strict]

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ classifiers =
1919
Programming Language :: Python :: 3.8
2020
Programming Language :: Python :: 3.9
2121
Programming Language :: Python :: 3.10
22+
Programming Language :: Python :: 3.11
2223
Topic :: Software Development :: Libraries
2324
Topic :: Software Development :: Version Control
2425
Topic :: System :: Software Distribution

0 commit comments

Comments
 (0)