Skip to content

Commit d36b71d

Browse files
committed
chore: Add docformatter hook back to pre-commit.
Also skip renovate hook in pre-commit.ci since the LTS version of node is too large.
1 parent 4b72402 commit d36b71d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ci:
1111
- pyright
1212
- poetry-audit
1313
- markdown-link-check
14+
- renovate-config-validator # the LTS version of node is too large for pre-commit.ci
1415
repos:
1516
- repo: https://github.com/pre-commit/pre-commit-hooks
1617
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
@@ -39,7 +40,7 @@ repos:
3940
- id: remove-tabs
4041
- id: forbid-tabs
4142
- repo: https://github.com/renovatebot/pre-commit-hooks
42-
rev: e9c0a88d6f27bb9b4012dbc39da93065698dd918 # frozen: 40.59.1
43+
rev: 31d36377a7880aab518615176e285746dbd4e199 # frozen: 40.60.0
4344
hooks:
4445
- id: renovate-config-validator
4546
- repo: https://github.com/python-jsonschema/check-jsonschema
@@ -135,14 +136,13 @@ repos:
135136
always_run: true
136137
args: [audit, --json, --ignore-code=CVE-2019-8341]
137138
- repo: https://github.com/astral-sh/ruff-pre-commit
138-
rev: 9aeda5d1f4bbd212c557da1ea78eca9e8c829e19 # frozen: v0.11.13
139+
rev: 8a948e557ca98afa9489998ad0b85515964df9c4 # frozen: v0.12.0
139140
hooks:
140141
- id: ruff
141142
args: [--fix, --exit-non-zero-on-fix]
142143
- id: ruff-format
143-
# TODO: Re-enable this once https://github.com/PyCQA/docformatter/issues/293 is resolved
144-
# - repo: https://github.com/PyCQA/docformatter
145-
# rev: dfefe062799848234b4cd60b04aa633c0608025e # frozen: v1.7.5
146-
# hooks:
147-
# - id: docformatter
148-
# additional_dependencies: [tomli]
144+
- repo: https://github.com/PyCQA/docformatter
145+
rev: e73b8ba0c1316be565983236c72e653ad44e6b66 # frozen: v1.7.7
146+
hooks:
147+
- id: docformatter
148+
additional_dependencies: [tomli]

0 commit comments

Comments
 (0)