summaryrefslogtreecommitdiff
path: root/pylint/checkers/refactoring/refactoring_checker.py
diff options
context:
space:
mode:
authorJulthep Nandakwang <julthep@nandakwang.com>2022-06-22 19:59:05 +0700
committerGitHub <noreply@github.com>2022-06-22 14:59:05 +0200
commit15414e02c8422749eabd3dafc97941bb3b908b7c (patch)
tree415082cde9164af27fac61cf663f473219364470 /pylint/checkers/refactoring/refactoring_checker.py
parentbf6308cbe11a4f50af5fd8375f87282a2f317d08 (diff)
downloadpylint-git-15414e02c8422749eabd3dafc97941bb3b908b7c.tar.gz
Add whitespaces in some message descriptions (#7001)
Diffstat (limited to 'pylint/checkers/refactoring/refactoring_checker.py')
-rw-r--r--pylint/checkers/refactoring/refactoring_checker.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pylint/checkers/refactoring/refactoring_checker.py b/pylint/checkers/refactoring/refactoring_checker.py
index 1837eebc1..4992a3690 100644
--- a/pylint/checkers/refactoring/refactoring_checker.py
+++ b/pylint/checkers/refactoring/refactoring_checker.py
@@ -339,7 +339,7 @@ class RefactoringChecker(checkers.BaseTokenChecker):
"R1716": (
"Simplify chained comparison between the operands",
"chained-comparison",
- "This message is emitted when pylint encounters boolean operation like"
+ "This message is emitted when pylint encounters boolean operation like "
'"a < b and b < c", suggesting instead to refactor it to "a < b < c"',
),
"R1717": (
@@ -348,7 +348,7 @@ class RefactoringChecker(checkers.BaseTokenChecker):
"Emitted when we detect the creation of a dictionary "
"using the dict() callable and a transient list. "
"Although there is nothing syntactically wrong with this code, "
- "it is hard to read and can be simplified to a dict comprehension."
+ "it is hard to read and can be simplified to a dict comprehension. "
"Also it is faster since you don't need to create another "
"transient list",
),
@@ -356,7 +356,7 @@ class RefactoringChecker(checkers.BaseTokenChecker):
"Consider using a set comprehension",
"consider-using-set-comprehension",
"Although there is nothing syntactically wrong with this code, "
- "it is hard to read and can be simplified to a set comprehension."
+ "it is hard to read and can be simplified to a set comprehension. "
"Also it is faster since you don't need to create another "
"transient list",
),