That worked! Thanks. On Mon, Jan 31, 2011 at 1:34 PM, Adrien Di Mascio < [email protected]> wrote:
> Hi, > > > On 31/01/2011 19:14, Roy Lowrance wrote: > >> I'd like to change the rules for allowed variable names so that 1 >> character lower-case names are valid. >> I take it I need to write a configuration file. >> >> How do I do that? >> > > I think the standard way would be to generate a config file : > > pylint --generate-rc-file > pylintrc > > Then edit the generated pylintrc file and modify the ``variable-rgx`` > option in the ``BASIC`` section. > > Your pylintrc file should then either be in your project's root directory, > in $HOME/.pylintrc or in a few other places. Check > http://www.logilab.org/card/pylint_manual#command-line-options and > http://hg.logilab.org/pylint/file/2599058e6521/config.py#l79 for more > detailed information. > > > Regards, > -- > Adrien Di Mascio - LOGILAB, Paris (France). > Tél: 01.45.32.03.12 > Formations - http://www.logilab.fr/formations > Développements - http://www.logilab.fr/services > Gestion de connaissances - http://www.cubicweb.org/ > -- Roy Lowrance home: 212 674 9777 mobile: 347 255 2544
_______________________________________________ Python-Projects mailing list [email protected] http://lists.logilab.org/mailman/listinfo/python-projects
