diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6ea1568..d0d97a9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,7 +25,7 @@ repos: # file checking out-of-the-box hooks - repo: https://github.com/pre-commit/pre-commit-hooks - rev: c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5.0 + rev: c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5.0 hooks: - id: check-case-conflict - id: check-shebang-scripts-are-executable @@ -36,7 +36,7 @@ repos: # safety - python dependency vulnerability checker - repo: https://github.com/Lucas-C/pre-commit-hooks-safety - rev: cdd875f1c96ba08362eb92c2b0f6de8d614f2fd1 # frozen: v1.3.2 + rev: cdd875f1c96ba08362eb92c2b0f6de8d614f2fd1 # frozen: v1.3.2 hooks: - id: python-safety-dependencies-check args: ["--disable-telemetry", "--full-report", "--ignore=51457"] @@ -55,27 +55,27 @@ repos: # pyupgrade - upgrade old syntax to new - repo: https://github.com/asottile/pyupgrade - rev: 1bbebc88c6925a4e56fd5446b830b12c38c1c24a # frozen: v3.15.0 + rev: 1bbebc88c6925a4e56fd5446b830b12c38c1c24a # frozen: v3.15.0 hooks: - id: pyupgrade args: ["--py37-plus"] # isort - sort imports - repo: https://github.com/PyCQA/isort - rev: c235f5e450b4b84e58d114ed4c589cbf454175a3 # frozen: 5.13.2 + rev: c235f5e450b4b84e58d114ed4c589cbf454175a3 # frozen: 5.13.2 hooks: - id: isort # black - python formatter - repo: https://github.com/psf/black - rev: ec91a2be3c44d88e1a3960a4937ad6ed3b63464e # frozen: 23.12.1 + rev: ec91a2be3c44d88e1a3960a4937ad6ed3b63464e # frozen: 23.12.1 hooks: - id: black args: ["--safe"] # blacken-docs - black for python code in docs (rst/md/tex) - repo: https://github.com/asottile/blacken-docs - rev: 960ead214cd1184149d366c6d27ca6c369ce46b6 # frozen: 1.16.0 + rev: 960ead214cd1184149d366c6d27ca6c369ce46b6 # frozen: 1.16.0 hooks: - id: blacken-docs exclude: testing|tests @@ -86,7 +86,7 @@ repos: # prettier - multi formatter - repo: https://github.com/pre-commit/mirrors-prettier - rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8 + rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8 hooks: - id: prettier @@ -117,7 +117,7 @@ repos: # code unspecific out-of-the-box hooks - repo: https://github.com/pre-commit/pre-commit-hooks - rev: c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5.0 + rev: c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5.0 hooks: - id: end-of-file-fixer stages: [commit] @@ -147,7 +147,7 @@ repos: # code unspecific out-of-the-box hooks - repo: https://github.com/pre-commit/pre-commit-hooks - rev: c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5.0 + rev: c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5.0 hooks: - id: check-merge-conflict - id: detect-private-key @@ -158,7 +158,7 @@ repos: # python specific out-of-the-box hooks - repo: https://github.com/pre-commit/pre-commit-hooks - rev: c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5.0 + rev: c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5.0 hooks: - id: debug-statements - id: fix-encoding-pragma @@ -212,7 +212,7 @@ repos: # poetry - python dependency management - repo: https://github.com/Cielquan/mirrors-poetry - rev: 41ef89aac1c244b9592952e5624689909ddadbb7 # frozen: 1.7.1 + rev: 41ef89aac1c244b9592952e5624689909ddadbb7 # frozen: 1.7.1 hooks: - id: poetry-check @@ -222,7 +222,7 @@ repos: # rstcheck - rst file checker - repo: https://github.com/rstcheck/rstcheck - rev: 445861c31d8134562e723d77115721038de2e687 # frozen: v6.2.0 + rev: 445861c31d8134562e723d77115721038de2e687 # frozen: v6.2.0 hooks: - id: rstcheck args: ["--config", "pyproject.toml"] @@ -235,7 +235,7 @@ repos: # markdownlint - md file checker - repo: https://github.com/DavidAnson/markdownlint-cli2 - rev: 82c791e94c2e2ab2119437d61c722c8e0c20d6c9 # frozen: v0.12.1 + rev: 82c791e94c2e2ab2119437d61c722c8e0c20d6c9 # frozen: v0.12.1 hooks: - id: markdownlint-cli2 @@ -245,13 +245,13 @@ repos: # JSON specific out-of-the-box hooks - repo: https://github.com/pre-commit/pre-commit-hooks - rev: c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5.0 + rev: c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5.0 hooks: - id: check-toml - id: check-yaml # yamllint - yaml linter - repo: https://github.com/adrienverge/yamllint - rev: 8713140e99914c0cb6e07364daedfb140847c3c5 # frozen: v1.33.0 + rev: 8713140e99914c0cb6e07364daedfb140847c3c5 # frozen: v1.33.0 hooks: - id: yamllint