File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ class ModelChecker(BaseChecker):
79
79
msgs = MESSAGES
80
80
81
81
@check_messages ("model-missing-unicode" )
82
- def visit_classdef (self , node ): # noqa: PLR0911
82
+ def visit_classdef (self , node ): # noqa: PLR0911
83
83
"""Class visitor."""
84
84
if not node_is_subclass (node , "django.db.models.base.Model" , ".Model" ):
85
85
# we only care about models
Original file line number Diff line number Diff line change @@ -86,10 +86,10 @@ lint.select = [
86
86
" W" , # pycodestyle
87
87
]
88
88
lint.ignore = [
89
- " RUF012" , # Mutable class attributes should be annotated with `typing.ClassVar`
90
89
" PLR0912" , # Too many branches, worse than C901
91
90
" PLR0915" , # Too many statements, worse than C901
92
91
" PLR2004" , # Magic value used in comparison, opinionated
92
+ " RUF012" , # Mutable class attributes should be annotated with `typing.ClassVar`
93
93
]
94
94
95
95
[tool .isort ]
You can’t perform that action at this time.
0 commit comments