Re: strange PyLint configuration

2007-06-01 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, Bjoern Schliessmann wrote: > [ripped out of context :-)] > Has this been updated recently? I could've sworn I had read that > stuff like has_key was "old". Yes, `has_key()` is "old", it's spelled ``in`` these days. :-) if mapping.has_key(ham): pass # -> if ham in mappi

Re: strange PyLint configuration

2007-05-31 Thread Steven Bethard
Bjoern Schliessmann wrote: > Eduardo "EdCrypt" O. Padoan wrote: > >> No. Quoting PEP 8: >> Functions: >> """ >> mixedCase is allowed only in contexts where that's already the >> prevailing style (e.g. threading.py), to retain backwards >> compatibility. >> """ >> Methods and instances:

Re: strange PyLint configuration

2007-05-31 Thread Bjoern Schliessmann
Eduardo "EdCrypt" O. Padoan wrote: > No. Quoting PEP 8: > Functions: > """ > mixedCase is allowed only in contexts where that's already the > prevailing style (e.g. threading.py), to retain backwards > compatibility. > """ > Methods and instances: > """ > Use the function naming rules:

Re: strange PyLint configuration (was: PEP 8 style enforcing program)

2007-05-31 Thread Eduardo \"EdCrypt\" O. Padoan
On 5/31/07, Bjoern Schliessmann <[EMAIL PROTECTED]> wrote: > Alexander Eisenhuth wrote: > > > Pylint is one of them (http://www.logilab.org/857) > > BTW: Why does pylint want all names with underscores? I tested it > and it complains about malformed names in e.g. the following cases > that are conf

strange PyLint configuration (was: PEP 8 style enforcing program)

2007-05-31 Thread Bjoern Schliessmann
Alexander Eisenhuth wrote: > Pylint is one of them (http://www.logilab.org/857) BTW: Why does pylint want all names with underscores? I tested it and it complains about malformed names in e.g. the following cases that are conformant to PEP 8: - single letter as parameter - firstLowerCamelCase na