copyright check pre-commit hook
Philippe Lhoste
PhiLho at GMX.net
Wed Feb 10 10:47:52 GMT 2010
On 09/02/2010 01:07, Marius Kruger wrote:
>> I'd like to have a bzr pre-commit hook that checks copyright notices
>> in the files being commited for the current year and fail the commit
>> if the current year is not included.
>
> https://launchpad.net/bzr-text-checker
> may have helped you.
Interesting plug-in!
A quick glance at the page you link to doesn't show the asked feature.
I suggest you update the page if that's something added later.
Does it allow some regex checking?
PS./OT.: I was once lectured here because my editor (SciTE) is set up to automatically
strip trailing spaces, and I dared to submit a patch where I removed such spaces in a
Python file... :-)
So, out of curiosity, what is the official (or general consensus) stance of these trailing
spaces, particularly on (otherwise) empty lines between two indented lines?
I know spaces are recommended for indentation, I am not sure about this "maintain
indentation level" stuff.
A non-Python programmer with curiosity for this language. :-)
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --
More information about the bazaar
mailing list