summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2012-09-20 08:38:19 +0200
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2012-09-20 08:38:19 +0200
commit385d6c400651f6c25130827df9f8ed611899d206 (patch)
treeb6474d3b03501fe70ea78e8e00c5fa31db46148b
parenta867f79d216518b18075ccf39406a3140b89a7ab (diff)
downloadpylint-385d6c400651f6c25130827df9f8ed611899d206.tar.gz
minor tweaks to previous changeset (custom reporter). Closes #105337
-rw-r--r--lint.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/lint.py b/lint.py
index 660fc8a..b3acd25 100644
--- a/lint.py
+++ b/lint.py
@@ -38,8 +38,7 @@ from warnings import warn
from logilab.common.configuration import UnsupportedAction, OptionsManagerMixIn
from logilab.common.optik_ext import check_csv
-from logilab.common.modutils import load_module_from_name
-from logilab.common.modutils import get_module_part
+from logilab.common.modutils import load_module_from_name, get_module_part
from logilab.common.interface import implements
from logilab.common.textutils import splitstrip
from logilab.common.ureports import Table, Text, Section
@@ -187,8 +186,10 @@ python modules names) to load, usually to register additional checkers.'}),
{'default': 'text', 'type': 'string', 'metavar' : '<format>',
'short': 'f',
'group': 'Reports',
- 'help' : 'Set the output format. Available formats are text,\
- parseable, colorized, msvs (visual studio) and html'}),
+ 'help' : 'Set the output format. Available formats are text,'
+ ' parseable, colorized, msvs (visual studio) and html. You '
+ 'can also give a reporter class, eg mypackage.mymodule.'
+ 'MyReporterClass.'}),
('include-ids',
{'type' : 'yn', 'metavar' : '<y_or_n>', 'default' : 0,