Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: How to skip pylint check
by
TAKOBI s.r.l., Lorenzo Battistini.
Grazie mille!
Could you help me to understand why this build
is failing?
It says
pylint expected errors 0, found 2!
Which ones?
Thanks
On Thu, 11 Jul 2019 at 09:42, Andrea Stirpe <a.stirpe@onestein.nl> wrote:
Try with:self._cr.commit() # pylint: disable=invalid-commitFrom: "Lorenzo Battistini" <elbaddy@gmail.com>
To: "Contributors" <contributors@odoo-community.org>
Sent: Thursday, July 11, 2019 9:27:07 AM
Subject: How to skip pylint checkHi 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 withself._cr.commit() # noqabut 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!_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Lorenzo Battistini
https://github.com/eLBati
https://github.com/eLBati