Skip to content

Commit b9d1fb0

Browse files
[pre-commit] Disable new pre-commit issues
1 parent 01b2488 commit b9d1fb0

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

pylint_django/compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# flake8: noqa
1+
# flake8: noqa: F401
22
# pylint: skip-file
33
# no sane linter can figure out the hackiness in this compatibility layer...
44
import sys

pylint_django/tests/input/external_factory_boy_noerror.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Meta:
3636
class BookTestCase(test.LiveServerTestCase):
3737
serialized_rollback = True
3838

39-
def _fixture_setup(self):
39+
def _fixture_setup(self): # pylint: disable=arguments-differ
4040
super()._fixture_setup()
4141
self.book = BookFactory()
4242
_author = AuthorFactory()

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ lint.select = [
8686
"W", # pycodestyle
8787
]
8888
lint.ignore = [
89+
"PLC0415", # `import` should be at the top-level of a file
8990
"PLR0912", # Too many branches, worse than C901
9091
"PLR0915", # Too many statements, worse than C901
9192
"PLR2004", # Magic value used in comparison, opinionated

0 commit comments

Comments
 (0)