Update pylint instructions for pylint v0.19.0 (included with Ubuntu 10.04 LTS).

This commit is contained in:
Ari Mudev 2010-09-03 15:14:42 +00:00
parent 9be2b5a64b
commit 35bb9444a1

View file

@ -32,13 +32,13 @@ Since pylint cannot catch dynamically created variables used in commands and
elsewhere in Evennia, one needs to reduce some checks to avoid false errors and
warnings. For best results, run pylint like this:
> pylint --disable=E1101,E0102,F0401,W0232,R0903 filename.py
> pylint --disable-msg=E1101,E0102,F0401,W0232,R0903 filename.py
To avoid entering the options every time, you can auto-create a pylintrc file by
using the option --generate-rcfile. You need to dump this output into a
file .pylintrc, for example like this (linux):
> pylint --disable=E1101,E0102,F0401,W0232,R0903 --generate-rcfile >& ~/.pylintrc
> pylint --disable-msg=E1101,E0102,F0401,W0232,R0903 --generate-rcfile > ~/.pylintrc
From now on you can then just run
@ -50,4 +50,4 @@ Ask Questions!
If any of the rules outlined in PEP 8 or in the list above doesn't make sense, please
don't hesitate to ask on the Evennia mailing list at http://evennia.com.
Keeping our code style uniform makes this project much easier for a wider group
of people to participate in.
of people to participate in.