diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3987b46..2472e33 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v6.0.0 hooks: # list of supported hooks: https://pre-commit.com/hooks.html - id: trailing-whitespace @@ -11,41 +11,41 @@ repos: - id: detect-private-key # python code formatting - - repo: https://github.com/psf/black - rev: 22.6.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.1.0 hooks: - id: black args: [--line-length, "99"] # python import sorting - repo: https://github.com/PyCQA/isort - rev: 5.10.1 + rev: 7.0.0 hooks: - id: isort args: ["--profile", "black", "--filter-files"] # python docstring formatting - - repo: https://github.com/myint/docformatter - rev: v1.4 + - repo: https://github.com/PyCQA/docformatter + rev: v1.7.7 hooks: - id: docformatter args: [--in-place, --wrap-summaries, "99", --wrap-descriptions, "92"] # yaml formatting - repo: https://github.com/pre-commit/mirrors-prettier - rev: v2.7.1 + rev: v4.0.0-alpha.8 hooks: - id: prettier types: [yaml] # python code analysis - repo: https://github.com/PyCQA/flake8 - rev: 5.0.4 + rev: 7.3.0 hooks: - id: flake8 # jupyter notebook cell output clearing - repo: https://github.com/kynan/nbstripout - rev: 0.6.0 + rev: 0.9.0 hooks: - id: nbstripout