] > Re: [Python-projects] HTML file output (Logilab.org)

Email Re: [Python-projects] HTML file output

from
subject
Re: [Python-projects] HTML file output
date
2005/04/18 11:14
On Monday 18 April à 12:03, logilab.abcx@spamgourmet.com wrote:
> On Monday, April 18, 2005 Sylvain Thénault - Sylvain.Thenault@logilab.fr wrote:
> > I think the most logical behaviour of the --files-output option is:
> > * write everything (i.e. messages + reports) in a single file when a
> >   single package is given on the command line
> > * write messages for each package in a separate file when more than one
> >   package is given and each report in it's own file too (however having
> >   a single file as today make sense too... opinion ?).

> In my opinion it would be kind of confusing to have separate behaviors
> when linting one item versus when linting 2 or more.

> I think the best solution would be to make it customizable through
> cfg options so that you could generate any combination of
> separate/global files. You said you were looking for 1.0 ideas so
> here are some ;)

Well, the point is also the level of complexity I wish to include for
this kind of flexibility... While I agree your proposition is the most
flexible, I'm not sure it's really worth it. But it's probably because
I'm personnaly never using the files-output option, so if someone using
it send me a patch to have a better behaviour, I'ld probably reconsider
my position ;).

-- 
Sylvain Thénault                               LOGILAB, Paris (France).

http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org

_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects