diff --git a/prospector/tools/pylint/collector.py b/prospector/tools/pylint/collector.py index 2bbb824b..69610b0e 100644 --- a/prospector/tools/pylint/collector.py +++ b/prospector/tools/pylint/collector.py @@ -29,7 +29,7 @@ def add_message(self, msg_id, location, msg): if PYLINT_VERSION < (2, 0): msg_data = self._message_store.check_message_id(msg_id) else: - msg_data = self._message_store.get_message_definition(msg_id) + msg_data = self._message_store.get_message_definitions(msg_id)[0] except UnknownMessageError: # this shouldn't happen, as all pylint errors should be # in the message store, but just in case we'll fall back diff --git a/setup.py b/setup.py index 531ef1cc..c2b8128d 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ if sys.version_info < (3, 0): _INSTALL_REQUIRES += ['pylint<2', 'pylint-django<0.9'] else: - _INSTALL_REQUIRES += ['pylint==2.3.1', 'pylint-django==2.0.9'] + _INSTALL_REQUIRES += ['pylint==2.3.1', 'pylint-django==2.0.10'] _PACKAGE_DATA = { 'prospector': [