[Python-ideas] Add 'use warnings' directive, like in Perl

Florian Bruhin me at the-compiler.org
Tue Feb 10 17:12:41 CET 2015


Hi,

* Eduard Bondarenko <eduardbpy at gmail.com> [2015-02-10 18:04:47 +0200]:
> What I propose ? I propose to add 'use warnings' directive. This directive
> will provide deeply verification. Like this:

It probably doesn't make sense to add something like this to CPython
itself - but there are many third-party tools which do such kind of
checks (and which I can recommend to use!), static analyzers/linters:

https://pypi.python.org/pypi/pyflakes
https://pypi.python.org/pypi/pep8
https://pypi.python.org/pypi/flake8 (a wrapper around pyflakes/pep8)
http://www.pylint.org/

Florian

-- 
http://www.the-compiler.org | me at 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150210/38f544d7/attachment.sig>


More information about the Python-ideas mailing list