File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,7 @@ class Condition(enum.Enum):
30
30
31
31
32
32
class Information (NamedTuple ):
33
- symbol : str
34
- msgid : str
33
+ msgid_or_symbol : str
35
34
extension : str | None
36
35
37
36
@@ -62,14 +61,13 @@ class Solution(enum.Enum):
62
61
]
63
62
64
63
NO_SELF_USE = Information (
65
- msgid = "R6301" , symbol = "no-self-use" , extension = "pylint.extensions.no_self_use"
64
+ msgid_or_symbol = "no-self-use" , extension = "pylint.extensions.no_self_use"
66
65
)
67
66
COMPARE_TO_ZERO = Information (
68
- msgid = "C2001" , symbol = "compare-to-zero" , extension = "pylint.extensions.comparetozero"
67
+ msgid_or_symbol = "compare-to-zero" , extension = "pylint.extensions.comparetozero"
69
68
)
70
69
COMPARE_TO_EMPTY_STRING = Information (
71
- msgid = "C1901" ,
72
- symbol = "compare-to-empty-string" ,
70
+ msgid_or_symbol = "compare-to-empty-string" ,
73
71
extension = "pylint.extensions.emptystring" ,
74
72
)
75
73
You can’t perform that action at this time.
0 commit comments