Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#397)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kemal Zebari <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and kemzeb authored Aug 9, 2024
1 parent 28ed57c commit 6eb8d4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6eb8d4b

Please sign in to comment.