diff --git a/CODING_STYLE b/CODING_STYLE index dc3678ab78..7cc625563d 100644 --- a/CODING_STYLE +++ b/CODING_STYLE @@ -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. \ No newline at end of file +of people to participate in.