* Dan Stromberg <strom...@gmail.com> [2016-01-20 07:08:14 -0800]:
> I like this too, though I find that sometimes there's no disable= for a
> message.

Do you have an example of this? Every message should have a name and
you should be able to disable it using that name. I've never seen a
message where this wasn't the case (and if it was, that'd be a pylint
bug).

> For that reason, I wrote a pylint wrapper that knows how to ignore some
> messages.  I prefer to use disable= where possible though.
> 
> EG:
>     ./this-pylint \
>         --ignore-message "^.*Unable to import 'hashlib'" \
>         --ignore-message "^.*Module 'hashlib' has no 'md5' member" \
>         --to-pylint equivs3e

I like the idea of having more fine-grained ignores. Why not
contribute this to pylint directly? I'd be glad about it :)

Florian

-- 
http://www.the-compiler.org | m...@the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
https://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to