diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1c6390db514..9eabbad6463 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v5.0.0 hooks: - id: check-ast - id: check-byte-order-marker @@ -29,36 +29,36 @@ repos: - id: trailing-whitespace - id: mixed-line-ending - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.18.0 hooks: - id: pyupgrade args: [--py36-plus] - repo: https://github.com/PyCQA/docformatter - rev: v1.5.1 + rev: v1.7.5 hooks: - id: docformatter args: [--in-place, --wrap-summaries=115, --wrap-descriptions=120] - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort name: Format imports - repo: https://github.com/pycqa/flake8 - rev: 6.0.0 + rev: 7.1.1 hooks: - id: flake8 - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 24.10.0 hooks: - id: black name: Format code - repo: https://github.com/asottile/blacken-docs - rev: 1.13.0 + rev: 1.19.0 hooks: - id: blacken-docs args: [--line-length=120] - repo: https://github.com/executablebooks/mdformat - rev: 0.7.16 + rev: 0.7.18 hooks: - id: mdformat additional_dependencies: @@ -66,6 +66,6 @@ repos: - mdformat_frontmatter exclude: CHANGELOG.md - repo: https://github.com/yoheimuta/protolint - rev: v0.42.2 + rev: v0.50.5 hooks: - id: protolint