Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with pylint 2.2.0 ? #303

Closed
victornoel opened this issue Nov 26, 2018 · 4 comments
Closed

Incompatible with pylint 2.2.0 ? #303

victornoel opened this issue Nov 26, 2018 · 4 comments

Comments

@victornoel
Copy link

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
@lemcheyWhite
Copy link

Hi, noticed the same today in the morning. Looks like message id was removed in pylint-dev/pylint#2442

@carlio
Copy link
Member

carlio commented Nov 26, 2018

Gah, it's tricky trying to keep track of all the moving dependency parts :-) I'll make a quick bugfix release to pin to an older pylint version then separately add a real fix for the next release to use pylint 2.2.0.

This was referenced Nov 26, 2018
@carlio
Copy link
Member

carlio commented Nov 26, 2018

1.1.6.2 now released with the small hotfix to pin versions - let me know if there are any further bugs but I think this will be closed as long as you upgrade prospector.

@carlio carlio closed this as completed Nov 26, 2018
@victornoel
Copy link
Author

@carlio excellent, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants