Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 9, 2024
1 parent ec74620 commit a31d1eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pylint_django/checkers/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class ModelChecker(BaseChecker):
msgs = MESSAGES

@check_messages("model-missing-unicode")
def visit_classdef(self, node): # noqa: PLR0911
def visit_classdef(self, node): # noqa: PLR0911
"""Class visitor."""
if not node_is_subclass(node, "django.db.models.base.Model", ".Model"):
# we only care about models
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ lint.select = [
"W", # pycodestyle
]
lint.ignore = [
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
"PLR0912", # Too many branches, worse than C901
"PLR0915", # Too many statements, worse than C901
"PLR2004", # Magic value used in comparison, opinionated
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
]

[tool.isort]
Expand Down

0 comments on commit a31d1eb

Please sign in to comment.