diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ce841bc..0f7a3b1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ exclude: '^pypi_browser/static/bootstrap' repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -10,26 +10,26 @@ repos: - id: double-quote-string-fixer - id: name-tests-test - id: requirements-txt-fixer -- repo: https://github.com/asottile/reorder_python_imports - rev: v3.8.3 +- repo: https://github.com/asottile/reorder-python-imports + rev: v3.12.0 hooks: - id: reorder-python-imports args: ['--py38-plus'] - repo: https://github.com/asottile/add-trailing-comma - rev: v2.3.0 + rev: v3.1.0 hooks: - id: add-trailing-comma args: ['--py36-plus'] - repo: https://github.com/asottile/pyupgrade - rev: v2.38.2 + rev: v3.15.2 hooks: - id: pyupgrade args: ['--py38-plus'] -- repo: https://github.com/pre-commit/mirrors-autopep8 - rev: v1.7.0 +- repo: https://github.com/hhatto/autopep8 + rev: v2.1.0 hooks: - id: autopep8 - repo: https://github.com/PyCQA/flake8 - rev: 5.0.4 + rev: 7.0.0 hooks: - id: flake8