Commit Graph

8 Commits

Author SHA1 Message Date
Pierre Sassoulas
672def32e3 [pylint.message] Create a MessageDefinition.check_msgid function 2019-08-19 13:54:52 +02:00
Pierre Sassoulas
bd24f94c77 [pylint.message] Symbol seems to never be None anymore 2019-08-16 17:25:23 +02:00
Pierre Sassoulas
43792243f4 [pylint.message] Move backward compatibility in MessageDefinition
If we need this mechanism it's better to handle it everywhere.
2019-08-16 17:25:23 +02:00
Pierre Sassoulas
e8bed2fc04 [pylint.message] Add unittests for MessageDefinition 2019-08-06 16:38:21 +02:00
Pierre Sassoulas
112b330e5c [pylint.message] Rename descr to description 2019-08-06 16:38:21 +02:00
Pierre Sassoulas
d8116eac7c Refactor - Merge normalize text in utils.py
Now that there is no more circular import we can do that.
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
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