Vauxoo / maintainer-quality-tools

QA tools for Odoo maintainers
GNU Affero General Public License v3.0
3 stars 9 forks source link

[REF] run_pylint: Compatibility with pylint>2.12 #349

Closed moylop260 closed 2 years ago

moylop260 commented 2 years ago

The following commit:

It is compatible with new way to get result of messages based on:

However, new corner cases were raised

e.g. https://github.com/OCA/sale-workflow/pull/2004#issuecomment-1118506829

It is because the test_pylint script consider returns early using a dict

So, we need to transform new way object to old way dict in order to be compatible with this old script with minimal changes since that new pylint checks are available from pre-commit