Commit Graph

8 Commits

Author SHA1 Message Date
Pierre Sassoulas
4bd00376f8 [pylint.message] Create a MessageIdStore class 2019-08-19 13:54:52 +02:00
Pierre Sassoulas
68507788fb [pylint.message] Rename MessagesStore to MessageDefinitionStore
We anticipate to have a MessageIdStore.
2019-08-09 15:02:19 +02:00
Pierre Sassoulas
26c4108087 [pylint.message] F401 'pylint.message.x' imported but unused 2019-08-06 16:38:21 +02:00
Pierre Sassoulas
e96be13c47 Refactor - Move build_message_definition to the BaseChecker class 2019-06-20 14:09:59 +02:00
Pierre Sassoulas
9461dc082c Refactor - Move function for checker in Checker
MsgStore.get_messages_from_checker => Checker.messages
MsgStore.check_checker_consistency => Checker.check_consistency
Probably makes more sense this way.
2019-03-29 09:37:05 +01:00
Pierre Sassoulas
1dbbb35d93 Refactor - Avoid intra-packages circular dependencies for constants
Some constants were package internal but were used by multiple
packages. This created circular dependencies. By creating a
file for constants we make sure this does not happen because
we won't import everything important in this file and every
thing else can depend on it.
2019-03-29 09:37:05 +01:00
Pierre Sassoulas
5ab140ac3b Style - Apply isort on all apllicable files 2019-03-20 09:07:35 +01:00
Pierre Sassoulas
2b50749867 Refactor - Create a pylint.message package
There is a lot of Message related class in Utils
this warrant the creation of a new package.

See also review for burst utils.py into a package here:
https://github.com/PyCQA/pylint/pull/2654#issuecomment-470748956
2019-03-09 11:09:29 +01:00