diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aa5b3dd..f30d325 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ exclude: tests/clones repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.2.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -13,8 +13,8 @@ repos: - id: check-case-conflict - id: check-merge-conflict - - repo: https://github.com/asottile/reorder_python_imports - rev: v3.1.0 + - repo: https://github.com/asottile/reorder-python-imports + rev: v3.13.0 hooks: - id: reorder-python-imports args: [--py37-plus, --add-import, 'from __future__ import annotations'] @@ -25,18 +25,18 @@ repos: ) - repo: https://github.com/asottile/add-trailing-comma - rev: v2.2.3 + rev: v3.1.0 hooks: - id: add-trailing-comma args: [--py36-plus] - - repo: https://github.com/pre-commit/mirrors-autopep8 - rev: v1.6.0 + - repo: https://github.com/hhatto/autopep8 + rev: v2.3.1 hooks: - id: autopep8 - repo: https://github.com/pycqa/flake8 - rev: 4.0.1 + rev: 7.1.1 hooks: - id: flake8 additional_dependencies: