Contributors mailing list archives
contributors@odoo-community.org
Browse archives
How to skip pylint check
by
TAKOBI s.r.l., Lorenzo Battistini.
Hi all,
sometimes we need to avoid some lines of code being checked by pylint.
Example: we use self._cr.commit() on purpose and we want to avoid E8102 error.
I tried with
self._cr.commit() # noqa
but it seems it is still failing:
https://travis-ci.org/eLBati/l10n-italy/jobs/557176068#L417 (am I interpreting correctly?)
So, how can I skip lint checks to make travis green?
Thanks!