Merge pull request #1341 from pypa/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
Joe Rickerby
2022-11-25 16:39:38 +00:00
committed by GitHub
+4 -3
View File
@@ -14,7 +14,7 @@ repos:
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v3.2.0 rev: v3.2.2
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: ["--py37-plus"] args: ["--py37-plus"]
@@ -22,7 +22,7 @@ repos:
# Autoremoves unused imports # Autoremoves unused imports
- repo: https://github.com/hadialqattan/pycln - repo: https://github.com/hadialqattan/pycln
rev: v2.1.1 rev: v2.1.2
hooks: hooks:
- id: pycln - id: pycln
args: [--all] args: [--all]
@@ -47,7 +47,7 @@ repos:
args: [--include-version-classifiers, --max-py-version=3.11] args: [--include-version-classifiers, --max-py-version=3.11]
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.982 rev: v0.991
hooks: hooks:
- id: mypy - id: mypy
name: mypy 3.7 on cibuildwheel/ name: mypy 3.7 on cibuildwheel/
@@ -70,6 +70,7 @@ repos:
- dataclasses - dataclasses
- id: mypy - id: mypy
name: mypy 3.10 name: mypy 3.10
exclude: ^cibuildwheel/resources/.*py$
args: ["--python-version=3.10"] args: ["--python-version=3.10"]
additional_dependencies: *mypy-dependencies additional_dependencies: *mypy-dependencies