comparison doc/reports.txt @ 915:e36f9b446976

Wrap lint report messages in a msg tag (includes a test and a documentation update). Fixes #547.
author hodgestar
date Mon, 23 May 2011 09:28:19 +0000
parents fc90ef7b2b86
children
comparison
equal deleted inserted replaced
913:5bfdd7348d6f 915:e36f9b446976
119 +-----------------+----------------------------------------------------------+ 119 +-----------------+----------------------------------------------------------+
120 | ``category`` | Category for problem; | 120 | ``category`` | Category for problem; |
121 | | ``convention \| warning \| refactor \| error`` | 121 | | ``convention \| warning \| refactor \| error`` |
122 +-----------------+----------------------------------------------------------+ 122 +-----------------+----------------------------------------------------------+
123 123
124 Each ``<problem />`` elements may contain a ``<msg>`` element whose
125 text is the issue description reported by pylint.
126
124 Example: 127 Example:
125 128
126 .. code-block:: xml 129 .. code-block:: xml
127 130
128 <report category="lint"> 131 <report category="lint">
129 <problem category="convention" 132 <problem category="convention"
130 line="17" 133 line="17"
131 tag="TestResultsChartGenerator" 134 tag="TestResultsChartGenerator"
132 file="bitten/report/testing.py"> 135 file="bitten/report/testing.py">
133 Missing docstring 136 <msg>Missing docstring</msg>
134 </problem> 137 </problem>
135 </report> 138 </report>
Copyright (C) 2012-2017 Edgewall Software