ci: update pre-commit configuration

This commit is contained in:
Alexander Engelsberger 2022-10-26 13:03:15 +02:00
parent 45f01f39d4
commit 482044ec87
No known key found for this signature in database

View File

@ -3,7 +3,7 @@
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0 rev: v4.3.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
exclude: (^\.bumpversion\.cfg$|cli_messages\.py) exclude: (^\.bumpversion\.cfg$|cli_messages\.py)
@ -14,7 +14,7 @@ repos:
- id: check-case-conflict - id: check-case-conflict
- repo: https://github.com/myint/autoflake - repo: https://github.com/myint/autoflake
rev: v1.4 rev: v1.7.7
hooks: hooks:
- id: autoflake - id: autoflake
@ -24,7 +24,7 @@ repos:
- id: isort - id: isort
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.950 rev: v0.982
hooks: hooks:
- id: mypy - id: mypy
files: prototorch files: prototorch
@ -43,7 +43,7 @@ repos:
- id: python-check-blanket-noqa - id: python-check-blanket-noqa
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v2.32.1 rev: v3.1.0
hooks: hooks:
- id: pyupgrade - id: pyupgrade