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 | e4e10699e459e4db35425fcc719da310435f3a24 (patch) | |
tree | d7c6de08c0fee6031a0a9648826b15027c7c3df3 /doc | |
parent | e55fc3f1b4d75a900416bf9ff0a9d50f2938890d (diff) | |
download | pylint-e4e10699e459e4db35425fcc719da310435f3a24.tar.gz |
add a q/a about configuration file format
Diffstat (limited to 'doc')
-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 b48d95f..65da31d 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 ========================== |