[pre-commit.ci] pre-commit autoupdate (#397)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kemal Zebari <kemalzebra@gmail.com>
This commit is contained in:
pre-commit-ci[bot] 2024-08-09 09:58:41 -07:00 committed by GitHub
parent 28ed57c8e9
commit 6eb8d4b6c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -15,12 +15,12 @@ repos:
- id: tox-ini-fmt
args: ["-p", "fix"]
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "2.1.4"
rev: "2.2.1"
hooks:
- id: pyproject-fmt
additional_dependencies: ["tox>=4.12.1"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.5.4"
rev: "v0.5.6"
hooks:
- id: ruff-format
- id: ruff

View File

@ -76,6 +76,7 @@ lint.select = [
"ALL",
]
lint.ignore = [
"A005", # Don't care about shadowing builtin modules
"ANN101", # No type annotation for self
"ANN102", # Missing type annotation for `cls` in classmethod
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed in
@ -84,6 +85,8 @@ lint.ignore = [
"D104", # Missing docstring in public package
"D203", # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
"D212", # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
"DOC201", # TODO: Read the comment for DOC501 for details
"DOC501", # TODO: Remove this once ruff supports Sphinx-style doc-strings; see https://github.com/astral-sh/ruff/issues/12434
"INP001", # no implicit namespace
"ISC001", # Conflict with formatter
"S101", # asserts allowed