Skip to content

Commit 8292363

Browse files
[pre-commit.ci] pre-commit autoupdate (#330)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 1cdb3b4 commit 8292363

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repos:
55
- id: end-of-file-fixer
66
- id: trailing-whitespace
77
- repo: https://github.com/codespell-project/codespell
8-
rev: v2.2.6
8+
rev: v2.3.0
99
hooks:
1010
- id: codespell
1111
args: ["--write-changes"]
@@ -15,12 +15,12 @@ repos:
1515
- id: tox-ini-fmt
1616
args: ["-p", "fix"]
1717
- repo: https://github.com/tox-dev/pyproject-fmt
18-
rev: "2.1.1"
18+
rev: "2.1.3"
1919
hooks:
2020
- id: pyproject-fmt
2121
additional_dependencies: ["tox>=4.12.1"]
2222
- repo: https://github.com/astral-sh/ruff-pre-commit
23-
rev: "v0.4.4"
23+
rev: "v0.4.7"
2424
hooks:
2525
- id: ruff-format
2626
- id: ruff

pyproject.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,18 @@ format.docstring-code-format = true
8080
lint.select = [
8181
"ALL",
8282
]
83+
lint.ignore = [
84+
"ANN101", # Missing type annotation for `self` in method
85+
"COM812", # Conflict with formatter
86+
"CPY", # No copyright statements
87+
"D203", # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
88+
"D205", # 1 blank line required between summary line and description
89+
"D212", # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
90+
"D301", # Use `r"""` if any backslashes in a docstring
91+
"D401", # First line of docstring should be in imperative mood
92+
"ISC001", # Conflict with formatter
93+
"S104", # Possible binding to all interface
94+
]
8395
lint.per-file-ignores."tests/**/*.py" = [
8496
"D", # don"t care about documentation in tests
8597
"FBT", # don"t care about booleans as positional arguments in tests
@@ -93,18 +105,6 @@ lint.isort = { known-first-party = [
93105
], required-imports = [
94106
"from __future__ import annotations",
95107
] }
96-
lint.ignore = [
97-
"ANN101", # Missing type annotation for `self` in method
98-
"COM812", # Conflict with formatter
99-
"CPY", # No copyright statements
100-
"D203", # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
101-
"D205", # 1 blank line required between summary line and description
102-
"D212", # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
103-
"D301", # Use `r"""` if any backslashes in a docstring
104-
"D401", # First line of docstring should be in imperative mood
105-
"ISC001", # Conflict with formatter
106-
"S104", # Possible binding to all interface
107-
]
108108
lint.preview = true
109109

110110
[tool.codespell]

0 commit comments

Comments
 (0)