Skip to content

Commit 85c737d

Browse files
committed
Hooks
1 parent 961f22e commit 85c737d

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.pre-commit-config.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
- id: mixed-line-ending
1515
- id: trailing-whitespace
1616
- repo: https://github.com/adamchainz/django-upgrade
17-
rev: 1.18.0
17+
rev: 1.20.0
1818
hooks:
1919
- id: django-upgrade
2020
args: [--target-version, "3.2"]
@@ -23,7 +23,7 @@ repos:
2323
hooks:
2424
- id: absolufy-imports
2525
- repo: https://github.com/astral-sh/ruff-pre-commit
26-
rev: "v0.4.7"
26+
rev: "v0.5.5"
2727
hooks:
2828
- id: ruff
2929
- id: ruff-format
@@ -34,12 +34,12 @@ repos:
3434
args: [--list-different, --no-semi]
3535
exclude: "^conf/|.*\\.html$"
3636
- repo: https://github.com/biomejs/pre-commit
37-
rev: "v0.1.0"
37+
rev: "v0.4.0"
3838
hooks:
3939
- id: biome-check
4040
additional_dependencies: ["@biomejs/[email protected]"]
4141
- repo: https://github.com/tox-dev/pyproject-fmt
42-
rev: 2.1.3
42+
rev: 2.1.4
4343
hooks:
4444
- id: pyproject-fmt
4545
- repo: https://github.com/abravalheri/validate-pyproject

feincms3_data/data.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def load_dump(
144144
)
145145

146146

147-
def _load_dump( # noqa: PLR0913
147+
def _load_dump(
148148
data,
149149
objects,
150150
progress,

pyproject.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ lint.extend-select = [
7575
# flake8-pie
7676
"PIE",
7777
# pylint
78-
"PL",
78+
"PLC",
79+
"PLE",
80+
"PLW",
7981
# unused noqa
8082
"RUF100",
8183
# flake8-simplify
@@ -91,6 +93,8 @@ lint.extend-ignore = [
9193
"B905",
9294
# No line length errors
9395
"E501",
96+
# Who cares
97+
"UP031",
9498
]
9599
lint.per-file-ignores."*/migrat*/*" = [
96100
# Allow using PascalCase model names in migrations

0 commit comments

Comments
 (0)