Contributors mailing list archives

Browse archives


Re: Pylint checks to solve or not

MoaHub, Graeme Gellatly
- 09/07/2020 00:10:52

My favorite one is the one where black adds a comma at end of a list, collapses it onto a single line then pylint complains about no whitespace on comma.  e.g fields.Selection([(.., ..), (.., ..), (.., ..),],  and its mandatory.

So annoying.  But Mandatory and Optional mean different things than C and W.  Mandatory is collection of pylint errors and warnings.  So is optional.  They are maintained in separate files so any difference is likely due to changes in those files between the Pull Branch and Destination Branch over time.

On Thu, Jul 9, 2020 at 3:12 AM David Beal <> wrote:
Hi all,

I have a doubt about pylint checks that have to be solved, mandatory or not ?

Example with this file

I have checked with C prefix with bold form sentence like here

I have others with W prefix (probably means warning)

If I assume only C checks need to be mandatory solved, is it exact ?

I'm a little surprised that check in PR
are different from checks in final merge.

see travis of last commit

But I can live with it if you I have an answer in my first question.

Thanks a lot

Bonne journée

David BEAL -
Odoo Intégration / Développement

Post to: