Skip to content

Commit ef1d657

Browse files
Ignore ruff D421 (property-docstring-starts-with-verb) (#2428)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/woodruffw/zizmor-pre-commit: v1.25.2 → v1.26.1](zizmorcore/zizmor-pre-commit@v1.25.2...v1.26.1) - [github.com/astral-sh/ruff-pre-commit: v0.15.17 → v0.15.20](astral-sh/ruff-pre-commit@v0.15.17...v0.15.20) * Add D421 to ruff ignore list in pyproject.toml --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent ccd3133 commit ef1d657

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
hooks:
1111
- id: actionlint
1212
- repo: https://github.com/woodruffw/zizmor-pre-commit
13-
rev: v1.25.2
13+
rev: v1.26.1
1414
hooks:
1515
- id: zizmor
1616
args: ["--no-progress", "--fix"]
@@ -19,7 +19,7 @@ repos:
1919
hooks:
2020
- id: shellcheck
2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: v0.15.17
22+
rev: v0.15.20
2323
hooks:
2424
- id: ruff
2525
args: ["--exit-non-zero-on-fix"]

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ ignore = [
153153
"D401",
154154
"D404",
155155
"D405",
156+
"D421", # property docstrings can start with a verb
156157
"ISC001", # implicit string concat conflicts with `ruff format`
157158
"ISC003", # prefer explicit string concat over implicit concat
158159
"PLR09", # we have our own complexity rules

0 commit comments

Comments
 (0)