diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b2b1bea..441d26c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,27 +1,27 @@ -default_stages: [commit, push] +default_stages: [pre-commit, pre-push] fail_fast: false repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v5.0.0 hooks: - id: mixed-line-ending - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 22.6.0 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/pycqa/isort - rev: 5.10.1 + rev: 5.13.2 hooks: - id: isort name: isort (python) - repo: https://github.com/asottile/blacken-docs - rev: v1.12.1 + rev: 1.19.1 hooks: - id: blacken-docs additional_dependencies: [black==21.5b2] - repo: https://github.com/asottile/pyupgrade - rev: v2.37.3 + rev: v3.19.0 hooks: - id: pyupgrade args: [--py37-plus]