openerp-community team mailing list archive
Mailing list archive
Re: Proposal to add W0402 to Travis Style checking
On 11/13/2014 06:32 PM, Moises Lopez wrote:
> Hello Georges,
> Sentence import pdb, import pudb, import ipdb (and maybe print) is
> usefully to debug local.
> If you need use this sentence in stable branch you will can add a
> comment of this type:
> import pdb # pylint: disable=W0402
and that is enough for me to lift the objection !
For the record, I've been using pre-commit hooks for years to avoid
accidental commits of pdb.set_trace(), but that wouldn't do for a
project wide enforcement such as the one being set in place.
Keep up the great job, folks !