Skip to content

Pylint check broken with Pylint >= 2.0.0 #263

Description

@volans-

In pylint/collector.py#26 this expression is used:

msg_data = self._message_store.check_message_id(msg_id)

But since pylint-dev/pylint#2077 was merged and then released, that method has been refactored to a different name: get_message_definition(). Hence now Prospector fails the pylint check with (only last part of the stacktrace attached):

  File "venv/lib/python3.6/site-packages/prospector/tools/pylint/collector.py", line 26, in add_message
    msg_data = self._message_store.check_message_id(msg_id)
AttributeError: 'MessagesStore' object has no attribute 'check_message_id'

Related package versions:

prospector==1.0
pylint==2.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions