From 35bb9444a11fb5ea49fa16ebdd147058a6f5d559 Mon Sep 17 00:00:00 2001 From: Ari Mudev Date: Fri, 3 Sep 2010 15:14:42 +0000 Subject: [PATCH] Update pylint instructions for pylint v0.19.0 (included with Ubuntu 10.04 LTS). --- CODING_STYLE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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.