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 9c6545b commit f1ca097Copy full SHA for f1ca097
doc/data/messages/u/unreachable-match-patterns/good.py
@@ -1,4 +1,6 @@
1
from enum import Enum
2
+
3
4
class Color(Enum):
5
RED = 0
6
GREEN = 1
pylint/checkers/match_statements_checker.py
@@ -37,7 +37,7 @@ def open(self) -> None:
37
@only_required_for_messages("unreachable-match-patterns")
38
def visit_match(self, node: nodes.Match) -> None:
39
"""Check if a name capture pattern prevents the other cases from being
40
- reached
+ reached.
41
"""
42
for idx, case in enumerate(node.cases):
43
if (
0 commit comments