diff options
author | Nicolas Chauvat <nicolas.chauvat@logilab.fr> | 2010-08-24 18:57:07 +0200 |
---|---|---|
committer | Nicolas Chauvat <nicolas.chauvat@logilab.fr> | 2010-08-24 18:57:07 +0200 |
commit | ea94fc15cf9741e20898ab5ded4db4e5716f9367 (patch) | |
tree | c94da226064b0d2dc1083f6a0730a30cf22848c2 | |
parent | 37b54b313cc891a3c6f419ddc860cc61f22f5e9d (diff) | |
download | pylint-git-ea94fc15cf9741e20898ab5ded4db4e5716f9367.tar.gz |
add a q/a about configuration file format
-rw-r--r-- | doc/FAQ.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/FAQ.txt b/doc/FAQ.txt index b48d95f49..65da31d36 100644 --- a/doc/FAQ.txt +++ b/doc/FAQ.txt @@ -233,6 +233,16 @@ top of the file: :: # pylint: disable-msg=W0401, E0202 # pylint: enable-msg=C0302 +4.5 What is the format of the configuration file? +--------------------------------------------------- + +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 + 5. Classes and Inheritance ========================== |