Skip to content

Commit 330f209

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

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ repos:
55
- id: end-of-file-fixer
66
- id: trailing-whitespace
77
- repo: https://github.com/python-jsonschema/check-jsonschema
8-
rev: 0.28.3
8+
rev: 0.28.4
99
hooks:
1010
- id: check-github-workflows
1111
args: [ "--verbose" ]
1212
- repo: https://github.com/codespell-project/codespell
13-
rev: v2.2.6
13+
rev: v2.3.0
1414
hooks:
1515
- id: codespell
1616
args: ["--write-changes"]
@@ -20,12 +20,12 @@ repos:
2020
- id: tox-ini-fmt
2121
args: ["-p", "fix"]
2222
- repo: https://github.com/tox-dev/pyproject-fmt
23-
rev: "2.1.1"
23+
rev: "2.1.3"
2424
hooks:
2525
- id: pyproject-fmt
2626
additional_dependencies: ["tox>=4.14.2"]
2727
- repo: https://github.com/astral-sh/ruff-pre-commit
28-
rev: "v0.4.4"
28+
rev: "v0.4.7"
2929
hooks:
3030
- id: ruff-format
3131
- id: ruff

pyproject.toml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,17 @@ line-length = 120
6969
lint.select = [
7070
"ALL",
7171
]
72+
lint.ignore = [
73+
"ANN101", # no type annotation for self
74+
"ANN401", # allow Any as type annotation
75+
"COM812", # Conflict with formatter
76+
"CPY", # No copyright statements
77+
"D203", # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
78+
"D212", # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
79+
"ISC001", # Conflict with formatter
80+
"S104", # Possible binding to all interface
81+
]
82+
7283
lint.per-file-ignores."roots/**/*.py" = [
7384
"D", # no docs
7485
"INP001", # no namespace
@@ -89,16 +100,6 @@ lint.isort = { known-first-party = [
89100
], required-imports = [
90101
"from __future__ import annotations",
91102
] }
92-
lint.ignore = [
93-
"ANN101", # no type annotation for self
94-
"ANN401", # allow Any as type annotation
95-
"COM812", # Conflict with formatter
96-
"CPY", # No copyright statements
97-
"D203", # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
98-
"D212", # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
99-
"ISC001", # Conflict with formatter
100-
"S104", # Possible binding to all interface
101-
]
102103

103104
[tool.codespell]
104105
builtin = "clear,usage,en-GB_to_en-US"

0 commit comments

Comments
 (0)