We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf2fe9b commit f4c6a25Copy full SHA for f4c6a25
pylint/checkers/refactoring/refactoring_checker.py
@@ -344,7 +344,8 @@ class RefactoringChecker(checkers.BaseTokenChecker):
344
"R1719": (
345
"The if expression can be replaced with %s",
346
"simplifiable-if-expression",
347
- "Used when an if expression can be replaced with 'bool(test)'.",
+ "Used when an if expression can be replaced with 'bool(test)' "
348
+ "or simply 'test' if the boolean cast is implicit.",
349
),
350
"R1720": (
351
'Unnecessary "%s" after "raise", %s',
0 commit comments