FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update pre-commit hooks · feincms/feincms3-data@698ce2f · GitHub

Commit 698ce2f

Browse files
committed
Update pre-commit hooks
1 parent ef4dcd0 commit 698ce2f

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ repos:
1919
- id: django-upgrade
2020
args: [--target-version, "3.2"]
2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: v0.15.22
22+
rev: v0.16.2
2323
hooks:
24-
- id: ruff
24+
- id: ruff-check
2525
args: [--unsafe-fixes]
2626
- id: ruff-format
2727
- repo: https://github.com/tox-dev/pyproject-fmt
28-
rev: v2.25.3
28+
rev: v2.27.0
2929
hooks:
3030
- id: pyproject-fmt
3131
- repo: https://github.com/abravalheri/validate-pyproject

‎feincms3_data/management/commands/f3dumpdata.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def add_arguments(self, parser):
1414
)
1515

1616
def handle(self, *args, **options):
17-
dataset, sep, args = options["dataset"].partition(":")
17+
dataset, _sep, args = options["dataset"].partition(":")
1818
try:
1919
ds = DATASETS[dataset]
2020
except KeyError:

‎pyproject.toml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,9 @@ lint.extend-select = [
9090
lint.extend-ignore = [
9191
# Allow zip() without strict=
9292
"B905",
93-
# No line length errors
93+
"DTZ011", # No line length errors
9494
"E501",
95+
"RUF012",
9596
# Who cares
9697
"UP031",
9798
]

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL