diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c45da83d6..32c1185ca 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ exclude: '^.*\.xtf|.*\.xml|.*\.ili' repos: # Fix end of files - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -24,7 +24,7 @@ repos: # Sort imports - repo: https://github.com/pycqa/isort - rev: "5.13.2" + rev: "7.0.0" hooks: - id: isort args: @@ -32,22 +32,22 @@ repos: - black # Black formatting - - repo: https://github.com/psf/black - rev: "24.10.0" + - repo: https://github.com/psf/black-pre-commit-mirror + rev: "25.12.0" hooks: - id: black args: ["--line-length=99"] # tool to automatically upgrade syntax for newer versions of the language - repo: https://github.com/asottile/pyupgrade - rev: v3.19.1 + rev: v3.21.2 hooks: - id: pyupgrade args: [--py37-plus] # Lint files - repo: https://github.com/pycqa/flake8 - rev: "7.1.1" + rev: "7.3.0" hooks: - id: flake8 args: [