subject
[Python-projects] HTML file output
date
Thanks for the first fix. Now another small problem ;)2005/04/15 22:01
I have the following options enabled:
[REPORTS]
# Tells wether to display a full report or only the messages
reports=yes
# Use HTML as output format instead of text
html=yes
# Put messages in a separate file for each module / package specified on the
# command line instead of printing them on stdout. Reports (if any) will be
# written in a file name "pylint_global.[txt|html]".
files-output=yes
However, I would like if an option was added to write both the messages
and the report (or just the report) to a separate file for each package.
A small patch I use is below.
utils.py line 309
==================
def make_reports(self, stats, old_stats):
"""render registered reports"""
# BEGIN - commented section so that each report is placed in it's
# own file and not in the "pylint_global.*" one
#if self.config.files_output:
# filename = 'pylint_global.' + self.reporter.extension
# self.reporter.set_output(open(filename, 'w'))
# END
sect = Section('Report',
'%s statements analysed.'% (self.stats['statement']))
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects
