Skip to content

Commit a31d1eb

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ec74620 commit a31d1eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pylint_django/checkers/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class ModelChecker(BaseChecker):
7979
msgs = MESSAGES
8080

8181
@check_messages("model-missing-unicode")
82-
def visit_classdef(self, node): # noqa: PLR0911
82+
def visit_classdef(self, node): # noqa: PLR0911
8383
"""Class visitor."""
8484
if not node_is_subclass(node, "django.db.models.base.Model", ".Model"):
8585
# we only care about models

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ lint.select = [
8686
"W", # pycodestyle
8787
]
8888
lint.ignore = [
89-
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
9089
"PLR0912", # Too many branches, worse than C901
9190
"PLR0915", # Too many statements, worse than C901
9291
"PLR2004", # Magic value used in comparison, opinionated
92+
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
9393
]
9494

9595
[tool.isort]

0 commit comments

Comments
 (0)