You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code uses a custom Reporter to emit special "service message" to TeamCity for each encountered issue. It also registers each unique issue type and that's where I ran into problems.
I used MessagesStore.get_message_definition() to retrieve a full description of an issue type, which worked fine, but it turns out this was moved and renamed in a recent PyLint release. I can adapt the code based on PyLint version, but perhaps there is a better way?
Please could you recommend a way of retrieving a description of a message given its message if (from a custom reporter)?
Thank you!
The text was updated successfully, but these errors were encountered:
Sorry for all this mess, we recently overhauled our message handling and we had to change a few things here and there in a backwards incompatible way.
Right now the authoritative way of grabbing the messages is using MessagesStore .get_message_definitions() which returns a list of MessageDefinition instances.
Question
Dear PyLint maintainers,
I recently helped add a PyLint plugin to the JetBrains/teamcity-messages project, integrating PyLint with the Code Inspection feature of TeamCity.
The code uses a custom Reporter to emit special "service message" to TeamCity for each encountered issue. It also registers each unique issue type and that's where I ran into problems.
I used
MessagesStore.get_message_definition()
to retrieve a full description of an issue type, which worked fine, but it turns out this was moved and renamed in a recent PyLint release. I can adapt the code based on PyLint version, but perhaps there is a better way?Please could you recommend a way of retrieving a description of a message given its message if (from a custom reporter)?
Thank you!
The text was updated successfully, but these errors were encountered: