Skip to content

Commit

Permalink
Duplicate the black hook
Browse files Browse the repository at this point in the history
  • Loading branch information
A5rocks authored Nov 26, 2024
1 parent b0dd931 commit 95679fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ repos:
types: [file]
types_or: [python, pyi, toml]
args: ["--show-fixes"]
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.10.0
hooks:
- id: black
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,6 @@ extend-ignore = [
"PERF203", # try-except-in-loop (not always possible to refactor)
"PT012", # multiple statements in pytest.raises block
"SIM117", # multiple-with-statements (messes up lots of context-based stuff and looks bad)

# conflicts with formatter (ruff recommends these be disabled)
"COM812",
]

[tool.ruff.lint.per-file-ignores]
Expand Down

0 comments on commit 95679fb

Please sign in to comment.