Skip to content

Commit 76c3f92

Browse files
[pre-commit.ci] pre-commit autoupdate (#120)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 7f31b0e commit 76c3f92

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

.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
additional_dependencies: ["tomli>=2.0.1"]
@@ -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.13"]
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: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,16 @@ format.docstring-code-format = true
7676
lint.select = [
7777
"ALL",
7878
]
79+
lint.ignore = [
80+
"ANN101", # no type annotation for self
81+
"ANN401", # allow Any as type annotation
82+
"COM812", # Conflict with formatter
83+
"CPY", # No copyright statements
84+
"D203", # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
85+
"D212", # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
86+
"ISC001", # Conflict with formatter
87+
"S104", # Possible binding to all interface
88+
]
7989
lint.per-file-ignores."tests/**/*.py" = [
8090
"D", # don"t care about documentation in tests
8191
"FBT", # don't care about booleans as positional arguments in tests
@@ -89,16 +99,6 @@ lint.isort = { known-first-party = [
8999
], required-imports = [
90100
"from __future__ import annotations",
91101
] }
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-
]
102102
lint.preview = true
103103

104104
[tool.codespell]

0 commit comments

Comments
 (0)