Skip to content

Commit 6e6fa04

Browse files
[pre-commit] Disable new pre-commit issues
1 parent 06f1337 commit 6e6fa04

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
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

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)