Skip to content

Commit

Permalink
chore: Update pre-commit hooks (#42)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/tox-dev/pyproject-fmt: 2.0.4 →
2.1.1](tox-dev/pyproject-fmt@2.0.4...2.1.1)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] committed May 20, 2024
1 parent 0cd932b commit eb3c433
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ repos:
entry: ruff format

- repo: https://github.com/tox-dev/pyproject-fmt
rev: "2.0.4"
rev: "2.1.1"
hooks:
- id: pyproject-fmt
17 changes: 7 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ all = [
line-length = 120
preview = true

[tool.ruff.lint]
select = [
lint.select = [
"A",
"ARG",
"B",
Expand Down Expand Up @@ -129,18 +128,16 @@ select = [
"W",
"YTT",
]
ignore = [
lint.unfixable = [
# Don't touch unused imports
"F401",
]
lint.flake8-tidy-imports.ban-relative-imports = "all"
lint.ignore = [
# Conflict with the Ruff formatter
"COM812",
"ISC001",
]
unfixable = [
# Don't touch unused imports
"F401",
]

[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"

[tool.pyproject-fmt]
indent = 2
Expand Down

0 comments on commit eb3c433

Please sign in to comment.