Configuring pylint for local conventions (was: pyflakes, pylint, pychecker - and other tools)

David Stanek dstanek at dstanek.com
Fri Apr 24 03:33:58 CEST 2009


On Thu, Apr 23, 2009 at 12:00 PM, Aahz <aahz at pythoncraft.com> wrote:
> In article <874owf4gky.fsf_-_ at benfinney.id.au>,
> Ben Finney  <ben+python at benfinney.id.au> wrote:
>>aahz at pythoncraft.com (Aahz) writes:
>>>
>>> Second, you can configure pylint to respect your personal style
>>
>>How? I haven't seen any decent documentation on doing so.
>
> Actually, I don't know how, I'm just repeating what was claimed at a
> presentation on pylint.  ;-)  I've traditionally used pychecker myself
> and haven't seen any reason to switch.


I believe you just:

  pylint --generate-rcfile > ~/.pylintrc

and then customize that file.

-- 
David
blog: http://www.traceback.org
twitter: http://twitter.com/dstanek



More information about the Python-list mailing list