mirror of
https://github.com/evennia/evennia.git
synced 2026-03-25 01:06:32 +01:00
Update pylint instructions for pylint v0.19.0 (included with Ubuntu 10.04 LTS).
This commit is contained in:
parent
9be2b5a64b
commit
35bb9444a1
1 changed files with 3 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue