Skip to content

Commit

Permalink
Fix duplication of information with msgid/symbol from the MessageStore
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Oct 2, 2023
1 parent 2c75c33 commit 4ca0379
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions pylint/config/_breaking_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ class Condition(enum.Enum):


class Information(NamedTuple):
symbol: str
msgid: str
msgid_or_symbol: str
extension: str | None


Expand Down Expand Up @@ -62,14 +61,13 @@ class Solution(enum.Enum):
]

NO_SELF_USE = Information(
msgid="R6301", symbol="no-self-use", extension="pylint.extensions.no_self_use"
msgid_or_symbol="no-self-use", extension="pylint.extensions.no_self_use"
)
COMPARE_TO_ZERO = Information(
msgid="C2001", symbol="compare-to-zero", extension="pylint.extensions.comparetozero"
msgid_or_symbol="compare-to-zero", extension="pylint.extensions.comparetozero"
)
COMPARE_TO_EMPTY_STRING = Information(
msgid="C1901",
symbol="compare-to-empty-string",
msgid_or_symbol="compare-to-empty-string",
extension="pylint.extensions.emptystring",
)

Expand Down

0 comments on commit 4ca0379

Please sign in to comment.