On Wednesday 17 March 2010, Sarah Strong wrote:
> New ticket: Truncate repeated warnings
> two options:
>
> Enabled by default, use --unabridged to show all warnings
> message:
> [ More warnings in this category, use --unabridged to show them all ]
>
> or
>
> Disabled by default, use --truncate to truncate repeated warnings
> message:
> [ More warnings in this category, don't use --truncate flag if you would
> like to see them all ]
>
> Which option would be better, and what's a better, simpler name for the
> option than unabridged/truncate?
In my opinion it should be enabled by default: if it has to be enabled
explicitly, it will not help novice users who don't know about the option.
Mads suggested a "--verbose"/"-v" option to switch from terse (default) to
verbose output. Maybe this would control more than just repeated messages
though, in that case it would be useful to have a specific flag as well.
> And before I sign off, I'd like to throw my support behind the idea of
> disabling convention warnings by default. Can we ticket this and address
> it as part of our output fixes? I think it would go a long way towards
> making pylint more friendly for first time users.
Both convention (C) and refactor (R) messages could be disabled by default,
I think.
Bye,
Maarten
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects