Skip to content

Incompatible with pylint 2.2.0 ? #303

@victornoel

Description

@victornoel

There seems to be message ids that disappeared in pylint 2.0.0.

When I run prospector I get:

Traceback (most recent call last):
  File "/home/victor/.local/share/virtualenvs/datapipe-jVSnBL5g/bin/prospector", line 11, in <module>
    sys.exit(main())
  File "/home/victor/.local/share/virtualenvs/datapipe-jVSnBL5g/lib/python3.6/site-packages/prospector/run.py", line 173, in main
    prospector.execute()
  File "/home/victor/.local/share/virtualenvs/datapipe-jVSnBL5g/lib/python3.6/site-packages/prospector/run.py", line 53, in execute
    for tool in self.config.get_tools(found_files):
  File "/home/victor/.local/share/virtualenvs/datapipe-jVSnBL5g/lib/python3.6/site-packages/prospector/config/__init__.py", line 41, in get_tools
    config_result = tool.configure(self, found_files)
  File "/home/victor/.local/share/virtualenvs/datapipe-jVSnBL5g/lib/python3.6/site-packages/prospector/tools/pylint/__init__.py", line 189, in configure
    self._prospector_configure(prospector_config, linter)
  File "/home/victor/.local/share/virtualenvs/datapipe-jVSnBL5g/lib/python3.6/site-packages/prospector/tools/pylint/__init__.py", line 66, in _prospector_configure
    'locally-enabled')  # notification about enabling a message
  File "/home/victor/.local/share/virtualenvs/datapipe-jVSnBL5g/lib/python3.6/site-packages/pylint/utils.py", line 316, in disable
    msgid, enable=False, scope=scope, line=line, ignore_unknown=ignore_unknown
  File "/home/victor/.local/share/virtualenvs/datapipe-jVSnBL5g/lib/python3.6/site-packages/pylint/utils.py", line 366, in _set_msg_status
    msg = self.msgs_store.get_message_definition(msgid)
  File "/home/victor/.local/share/virtualenvs/datapipe-jVSnBL5g/lib/python3.6/site-packages/pylint/utils.py", line 989, in get_message_definition
    msgid_or_symbol=msgid_or_symbol
pylint.exceptions.UnknownMessageError: No such message id locally-enabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions