diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2a2319b..cdaa2e4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,12 +2,12 @@ fail_fast: false default_language_version: python: python3 default_stages: - - commit - - push + - pre-commit + - pre-push minimum_pre_commit_version: 2.16.0 repos: - repo: https://github.com/psf/black - rev: 24.4.2 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/pre-commit/mirrors-prettier @@ -15,7 +15,7 @@ repos: hooks: - id: prettier - repo: https://github.com/asottile/blacken-docs - rev: 1.16.0 + rev: 1.19.0 hooks: - id: blacken-docs - repo: https://github.com/PyCQA/isort @@ -34,7 +34,7 @@ repos: - flake8-bugbear - flake8-blind-except - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: detect-private-key - id: check-ast @@ -53,7 +53,7 @@ repos: - --remove-unused-variable - --ignore-init-module-imports - repo: https://github.com/PyCQA/flake8 - rev: 7.1.0 + rev: 7.1.1 hooks: - id: flake8 additional_dependencies: @@ -64,7 +64,7 @@ repos: - flake8-bugbear - flake8-blind-except - repo: https://github.com/asottile/pyupgrade - rev: v3.16.0 + rev: v3.18.0 hooks: - id: pyupgrade args: [--py3-plus, --py38-plus, --keep-runtime-typing]