summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMartin Pool <mbp@google.com>2012-09-19 17:15:43 +0200
committerMartin Pool <mbp@google.com>2012-09-19 17:15:43 +0200
commite46934e5f4c951e0f48a3b2deaa18775baddbed5 (patch)
tree7536b71e315887ecc974a64bdc9d72e3bf7aa56f /doc
parent54dfc65486683aeff4d612ebc218795bd971de4b (diff)
downloadpylint-e46934e5f4c951e0f48a3b2deaa18775baddbed5.tar.gz
Closes #104572: symbolic warning names in output (by Martin Pool)
triggered whatever the format using a command line option
Diffstat (limited to 'doc')
-rw-r--r--doc/FAQ.txt9
-rw-r--r--doc/manual.txt2
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/FAQ.txt b/doc/FAQ.txt
index 56b17c2..992190a 100644
--- a/doc/FAQ.txt
+++ b/doc/FAQ.txt
@@ -243,6 +243,15 @@ It means that if you need to disable a lot of messages, you can use tricks like:
E0202, # I have a good reason, trust me
C0302 # that's it
+4.6 Do I have to remember all these numbers?
+--------------------------------------------
+
+No, starting from 0.25.3, you can use symbolic names for messages::
+
+ # pylint: disable=fixme, line-too-long
+
+You can show these symbols in the output with the `-sy` option.
+
5. Classes and Inheritance
==========================
diff --git a/doc/manual.txt b/doc/manual.txt
index 17be0a0..98f6065 100644
--- a/doc/manual.txt
+++ b/doc/manual.txt
@@ -313,6 +313,8 @@ Other useful global options include:
--html=y_or_n Use HTML as output format instead of text.
--list-msgs Generate pylint's messages.
--full-documentation Generate pylint's full documentation, in reST format.
+--include_ids=y_or_n Show numeric ids of messages (like 'C0301')
+--symbols=y_or_n Show symbolic ids of messsages (like 'line-too-long')
.. _features: features.html