Skip to content

Commit 923fd51

Browse files
committed
Pylint and black fight over what counts as a good multi-line string (pep8 says \ inside brackets is redundant, pylint moans about implicit-string-concatenation
1 parent 81c84a5 commit 923fd51

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pylint_django/checkers/django_installed.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class DjangoInstalledChecker(BaseChecker):
1010
name = "django-installed-checker"
1111

1212
msgs = {
13+
# pylint: disable=implicit-str-concat
1314
f"F{BASE_ID}01": (
1415
"Django is not available on the PYTHONPATH",
1516
"django-not-available",

pylint_django/checkers/foreign_key_strings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class ForeignKeyStringsChecker(BaseChecker):
4444
)
4545

4646
msgs = {
47+
# pylint: disable=implicit-str-concat
4748
f"E{BASE_ID}10": (
4849
"Django was not configured. For more information run " "pylint --load-plugins=pylint_django --help-msg=django-not-configured",
4950
"django-not-configured",

0 commit comments

Comments
 (0)