summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2013-09-25 08:53:36 +0200
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2013-09-25 08:53:36 +0200
commit958850781e5a9ec899f8627d4e4329c45ce9e938 (patch)
tree4632d621a67bf20570e19982143a82fabda4da88
parentdb0b5edc96b3013ca29d272949c5359099ec2c06 (diff)
downloadpylint-958850781e5a9ec899f8627d4e4329c45ce9e938.tar.gz
[doc] enhance description of new output format a bit
-rw-r--r--doc/output.rst18
1 files changed, 15 insertions, 3 deletions
diff --git a/doc/output.rst b/doc/output.rst
index e698271..3a87547 100644
--- a/doc/output.rst
+++ b/doc/output.rst
@@ -33,13 +33,25 @@ C
category
fullname of the message category
-For exemple the default format can be obtained with::
+For exemple the former (pre 1.0) default format can be obtained with::
pylint --msg-template='{msg_id}:{line:3d},{column}: {obj}: {msg}'
-and a Visual Studio compatible format can be obtained with::
+A few other examples:
+
+* the new default format::
+
+ {C}:{line:3d},{column:2d}: {msg} ({symbol})
+
+* Visual Studio compatible format (former 'msvs' output format)::
+
+ {path}({line}): [{msg_id}{obj}] {msg}
+
+* Parseable (Emacs and all, former 'parseable' output format) format::
+
+ {path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
+
- pylint --msg-template='{path}({line}): [{msg_id}{obj}] {msg}'
.. _Python new format syntax: http://docs.python.org/2/library/string.html#formatstrings