diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 463f628f28..5cc3230172 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,13 +2,13 @@ default_language_version: python: python3 repos: - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.1.13 + rev: v0.16.3 hooks: - id: ruff args: [--fix] - id: ruff-format - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v6.0.0 hooks: - id: check-yaml - id: fix-encoding-pragma @@ -16,7 +16,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/asottile/blacken-docs - rev: 1.16.0 + rev: 1.20.0 hooks: - id: blacken-docs additional_dependencies: [black] @@ -29,7 +29,7 @@ repos: - id: rst-directive-colons - id: rst-inline-touching-normal - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v2.3.0 hooks: - id: mypy files: ^src/ @@ -37,9 +37,9 @@ repos: - tokenize-rt==4.1.0 - types-paramiko - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.4.3 hooks: - id: codespell - stages: [commit, commit-msg] + stages: [pre-commit, commit-msg] args: [--ignore-words-list, 'titel,statics,ba,nd,te,atomate'] types_or: [python, rst, markdown]