summaryrefslogtreecommitdiff
path: root/pylint/extensions
diff options
context:
space:
mode:
authorOllie <46904826+ollie-iterators@users.noreply.github.com>2023-03-02 13:49:28 -0500
committerGitHub <noreply@github.com>2023-03-02 19:49:28 +0100
commit5337e6280e76e13d1922b03ffeba7887a00e6356 (patch)
tree712fb303a3f03615c0a5fb224668298485803dba /pylint/extensions
parent61844d87bd03be1233a431186efe5d61ccc758c9 (diff)
downloadpylint-git-5337e6280e76e13d1922b03ffeba7887a00e6356.tar.gz
Changing flake8 to have max-line-length of 115 (#8362)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'pylint/extensions')
-rw-r--r--pylint/extensions/confusing_elif.py3
-rw-r--r--pylint/extensions/typing.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/pylint/extensions/confusing_elif.py b/pylint/extensions/confusing_elif.py
index d16d6c60a..ada8b5ab1 100644
--- a/pylint/extensions/confusing_elif.py
+++ b/pylint/extensions/confusing_elif.py
@@ -28,7 +28,8 @@ class ConfusingConsecutiveElifChecker(BaseChecker):
"confusing-consecutive-elif",
"Used when an elif statement follows right after an indented block which itself ends with if or elif. "
"It may not be ovious if the elif statement was willingly or mistakenly unindented. "
- "Extracting the indented if statement into a separate function might avoid confusion and prevent errors.",
+ "Extracting the indented if statement into a separate function might avoid confusion and prevent "
+ "errors.",
)
}
diff --git a/pylint/extensions/typing.py b/pylint/extensions/typing.py
index 1cf7ec10c..264d0c383 100644
--- a/pylint/extensions/typing.py
+++ b/pylint/extensions/typing.py
@@ -127,7 +127,8 @@ class TypingChecker(BaseChecker):
"R6006": (
"Type `%s` is used more than once in union type annotation. Remove redundant typehints.",
"redundant-typehint-argument",
- "Duplicated type arguments will be skipped by `mypy` tool, therefore should be removed to avoid confusion.",
+ "Duplicated type arguments will be skipped by `mypy` tool, therefore should be "
+ "removed to avoid confusion.",
),
}
options = (