Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ci:
- pyright
- poetry-audit
- markdown-link-check
- renovate-config-validator # TODO: remove this line once https://github.com/renovatebot/pre-commit-hooks/issues/2460 is resolved
- renovate-config-validator # the LTS version of node is too large for pre-commit.ci
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
Expand Down Expand Up @@ -40,10 +40,9 @@ repos:
- id: remove-tabs
- id: forbid-tabs
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 8cb873358c86073e4e3c7d085e393db7f2af19b9 # frozen: 39.262.1
rev: 31d36377a7880aab518615176e285746dbd4e199 # frozen: 40.60.0
hooks:
- id: renovate-config-validator
language_version: 20.18.0 # TODO: remove this line once https://github.com/renovatebot/pre-commit-hooks/issues/2460 is resolved
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 06e4cc849d03f3a59ca223a4046f4bb5bb2aba6d # frozen: 0.33.0
hooks:
Expand All @@ -60,7 +59,7 @@ repos:
- id: actionlint
additional_dependencies: [pyflakes, shellcheck-py]
- repo: https://github.com/commitizen-tools/commitizen
rev: a8094aebad266040ef07f118a96c88a93f4aecf8 # frozen: v4.8.2
rev: c710c9f541ae452547fdce5c360929f007ec4867 # frozen: v4.8.3
hooks:
- id: commitizen
stages: [commit-msg]
Expand Down Expand Up @@ -137,14 +136,13 @@ repos:
always_run: true
args: [audit, --json, --ignore-code=CVE-2019-8341]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: d19233b89771be2d89273f163f5edc5a39bbc34a # frozen: v0.11.12
rev: 8a948e557ca98afa9489998ad0b85515964df9c4 # frozen: v0.12.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
# TODO: Re-enable this once https://github.com/PyCQA/docformatter/issues/293 is resolved
# - repo: https://github.com/PyCQA/docformatter
# rev: dfefe062799848234b4cd60b04aa633c0608025e # frozen: v1.7.5
# hooks:
# - id: docformatter
# additional_dependencies: [tomli]
- repo: https://github.com/PyCQA/docformatter
rev: e73b8ba0c1316be565983236c72e653ad44e6b66 # frozen: v1.7.7
hooks:
- id: docformatter
additional_dependencies: [tomli]
Loading