On 01 avril 18:48, Aaron Rivacoba wrote:
> In regards to the tutorial doc at
> http://www.logilab.org/card/pylint_tutorial, I have the following
> question:
> 
> Just curious regarding the C0103 messages. It seems to me that
> shift, choice, etc. are variables, not constants, and so, according
> to PEP can be any of a different set of naming styles; only
> constants should be capitalized, which would make the rule correct.
> Is there any reason for pylint for not use the variable-rgx for
> these variables?

what's shift and choice ?
 
Currently pylint is somewhat dumb and consider all module level's identifier
as "constant" (except import/class/function)..

-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

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

Reply via email to