From f459fdf0892546ed3d5c30e16d4665151455be20 Mon Sep 17 00:00:00 2001 From: qchempku2017 Date: Wed, 14 Aug 2024 00:03:40 +0000 Subject: [PATCH] auto-update pre-commit hooks --- .pre-commit-config.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8ce2804..8343603 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: check-yaml - id: fix-encoding-pragma @@ -18,19 +18,19 @@ repos: args: ['--maxkb=3000'] - repo: https://github.com/psf/black - rev: 23.9.1 + rev: 24.8.0 hooks: - id: black - repo: https://github.com/asottile/blacken-docs - rev: 1.16.0 + rev: 1.18.0 hooks: - id: blacken-docs additional_dependencies: [black==23.1.0] exclude: README.md - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort name: isort (python) @@ -38,13 +38,13 @@ repos: - --profile=black - repo: https://github.com/asottile/pyupgrade - rev: v3.13.0 + rev: v3.17.0 hooks: - id: pyupgrade args: [--py38-plus] - repo: https://github.com/PyCQA/autoflake - rev: v2.2.1 + rev: v2.3.1 hooks: - id: autoflake args: @@ -56,7 +56,7 @@ repos: # Temporarily downgrade flake8 because it gives 'str' is not callable error. - repo: https://github.com/PyCQA/flake8 - rev: 5.0.4 + rev: 7.1.1 hooks: - id: flake8 files: ^WFacer/ @@ -80,7 +80,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.3.0 hooks: - id: codespell stages: [commit, commit-msg]