diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 752aebf..92c3023 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: f71fa2c1f9cf5cb705f73dffe4b21f7c61470ba9 # frozen: v4.4.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: a4a1eb373d8e809534a46855a58be427a0a29219 # frozen: v1.3.1 + rev: cdd875f1c96ba08362eb92c2b0f6de8d614f2fd1 # frozen: v1.3.2 hooks: - id: python-safety-dependencies-check args: ["--disable-telemetry", "--full-report", "--ignore=51457"] @@ -55,7 +55,7 @@ repos: # pyupgrade - upgrade old syntax to new - repo: https://github.com/asottile/pyupgrade - rev: 01cee377ba3a5264c7fbe7b6beae7b575f764dc3 # frozen: v3.3.1 + rev: 1bbebc88c6925a4e56fd5446b830b12c38c1c24a # frozen: v3.15.0 hooks: - id: pyupgrade args: ["--py37-plus"] @@ -68,14 +68,14 @@ repos: # black - python formatter - repo: https://github.com/psf/black - rev: bf7a16254ec96b084a6caf3d435ec18f0f245cc7 # frozen: 23.3.0 + rev: e87737140f32d3cd7c44ede75f02dcd58e55820e # frozen: 23.9.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: 1238e1d8f03e96a7ed9ad44937ea4348eb6b11b8 # frozen: 1.13.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: 6fd1ced85fc139abd7f5ab4f3d78dab37592cd5e # frozen: v3.0.0-alpha.9-for-vscode + rev: fc260393cc4ec09f8fc0a5ba4437f481c8b55dc1 # frozen: v3.0.3 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: f71fa2c1f9cf5cb705f73dffe4b21f7c61470ba9 # frozen: v4.4.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: f71fa2c1f9cf5cb705f73dffe4b21f7c61470ba9 # frozen: v4.4.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: f71fa2c1f9cf5cb705f73dffe4b21f7c61470ba9 # frozen: v4.4.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: c94fcaa1d73e0c66f221e2e9ffc0d85f3c04e5ed # frozen: 1.4.2 + rev: de4d70d4adc6e729486dddbbbdf74c8f7ba15a6c # frozen: 1.6.1 hooks: - id: poetry-check @@ -222,7 +222,7 @@ repos: # rstcheck - rst file checker - repo: https://github.com/rstcheck/rstcheck - rev: 165c37523acb08cc649f44d378c80266ce451c2a # frozen: v6.1.2 + 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: e54fbe250d287fd6f09363395343887a999963c5 # frozen: v0.7.0 + rev: ef974bde8375da10f3aa38a1b6ce646a34a23446 # frozen: v0.10.0 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: f71fa2c1f9cf5cb705f73dffe4b21f7c61470ba9 # frozen: v4.4.0 + rev: c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5.0 hooks: - id: check-toml - id: check-yaml # yamllint - yaml linter - repo: https://github.com/adrienverge/yamllint - rev: 98f2281f56be5503f3851e74556e1122fc18b2a8 # frozen: v1.31.0 + rev: b05e028c5881819161d11cb543fd96a30c06cceb # frozen: v1.32.0 hooks: - id: yamllint