Skip to content

Commit 1c9a98b

Browse files
Cosmetic edits
1 parent 09398b4 commit 1c9a98b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/whatsnew/fragments/8789.other

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Renamed the "unneeded-not" error into "unnecessary_negation" to be clearer
1+
Renamed the "unneeded-not" error into "unnecessary_negation" to be clearer.
22

33
Closes #8789

pylint/checkers/refactoring/not_checker.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ class NotChecker(checkers.BaseChecker):
2020
"C0117": (
2121
'Consider changing "%s" to "%s"',
2222
"unnecessary-negation",
23-
"Used when a boolean expression contains an unneeded negation, e.g. when two negation operators cancel each other out.",
23+
"Used when a boolean expression contains an unneeded negation, "
24+
"e.g. when two negation operators cancel each other out.",
2425
{"old_names": [("C0113", "unneeded-not")]},
2526
)
2627
}

0 commit comments

Comments
 (0)