diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fe56367..badcc3c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,11 +24,11 @@ ci: repos: - repo: https://github.com/python-poetry/poetry - rev: '1.4.0' # add version here + rev: '2.2.1' # add version here hooks: - id: poetry-check - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v6.0.0 hooks: - id: end-of-file-fixer - id: trailing-whitespace @@ -40,44 +40,44 @@ repos: - id: detect-private-key - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.20.0 hooks: - id: pyupgrade args: [--py36-plus] name: Upgrade code - repo: https://github.com/PyCQA/isort - rev: 5.11.5 + rev: 6.1.0 hooks: - id: isort name: imports require_serial: false - repo: https://github.com/kynan/nbstripout - rev: 0.6.1 + rev: 0.8.1 hooks: - id: nbstripout - repo: https://github.com/PyCQA/docformatter - rev: v1.5.1 + rev: v1.7.7 hooks: - id: docformatter args: [--in-place, --wrap-summaries=115, --wrap-descriptions=120] - - repo: https://github.com/psf/black - rev: 23.3.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 25.9.0 hooks: - id: black name: Format code - repo: https://github.com/asottile/blacken-docs - rev: 1.13.0 + rev: 1.20.0 hooks: - id: blacken-docs args: [ --line-length=120, --skip-errors ] - repo: https://github.com/PyCQA/flake8 - rev: 5.0.4 + rev: 7.3.0 hooks: - id: flake8 name: PEP8 @@ -98,4 +98,4 @@ repos: stages: - commit-msg repo: https://github.com/commitizen-tools/commitizen - rev: v2.42.1 + rev: v4.9.1