Closed ssinad closed 4 years ago
I have the same issue. Version 2018.2.4 (build 61678)
Hi! I think this is related to a recent change in PyLint, in which the way to get message description changed.
Please can you check what version of PyLint you're using?
I will take a look
I am currently using Pylint 2.3.1. What was the latest version of Pylint that used to work?
It should work up to an including PyLint 2.2.2. The incompatibility is with 2.3 and above. I have contacted the PyLint team for suggestions and will try to make a fix soon.
I have created PR #217 based on my best understanding of the PyLint interface for now. This should resolve the issue and make the code and tests more robust going forward.
If the PyLint maintainers suggest a better option in the future, I will come back and implement it.
Thanks for merging #217!
Do you think this issue can be closed now? And when do you plan the next release?
Is a new release planned to include a fix to this issue? Thanks!
Hello, We're experiencing the same issue here; going back to PyLint 2.2 with Astroid 2.0.0 is ok for now but we're also awaiting a release!
Regards
Finally released 1.26, sorry for the wait
Hi there, I had the same problem and although I've installed the 1.26 the problem still persitsts. It seems that at line 26 the attribute name is still 'descr' and not description.
return " ".join(definition.descr for definition in linter.msgs_store.get_message_definitions(msgid))
@aviceconti please tell me exact version of pylint and python
Hi there, thanks for the quick response pytest-pylint 2.3.1 python 3.7.4
Cheers
@aviceconti released 1.27, please try again
When I run PyLint on TeamCity, I get the following error:
I checked the output of
pylint --output-format=teamcity.pylint_reporter.TeamCityReporter *.py
and apparently it is missing a mandatorydescription
attribute.