summaryrefslogtreecommitdiff
path: root/doc/faq.rst
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2014-04-11 10:54:20 +0200
committerSylvain Thénault <sylvain.thenault@logilab.fr>2014-04-11 10:54:20 +0200
commita23654de25a380acceb72b151fc8ecb09a3e1271 (patch)
tree1fae7c748b80810ffbf7060f7d885a3cb505fabe /doc/faq.rst
parentfd4d5ae13ff30b0faf8cf73f60ac16328f9c24bf (diff)
downloadpylint-git-a23654de25a380acceb72b151fc8ecb09a3e1271.tar.gz
don't promote inline comment in rc file
their situation w/ ConfigParser is somewhat fuzzy, and we don't want to promote them in pylintrc, so simply show whole line comments. Closes #150
Diffstat (limited to 'doc/faq.rst')
-rw-r--r--doc/faq.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/faq.rst b/doc/faq.rst
index ce5102d37..ce6e84e1b 100644
--- a/doc/faq.rst
+++ b/doc/faq.rst
@@ -185,9 +185,10 @@ variable for unused argument ("_" and "dummy" by default).
Pylint uses ConfigParser from the standard library to parse the configuration file.
It means that if you need to disable a lot of messages, you can use tricks like: ::
- disable= W0401, # because I do not want it
- E0202, # I have a good reason, trust me
- C0302 # that's it
+ # disable W0401, E0202 and C0302 because I do not want it
+ disable= W0401,
+ E0202,
+ C0302
4.7 Why do I get a lot of spurious "unused variables messages" when using psyobj from psyco_?
----------------------------------------------------------------------------------------------