Hi gang:
FYI, I have installed a pre-commit hook on our CVS repository that
will try to validate any about-to-be-committed Python files with
respect to indentation and trailing whitespace issues.
If you now try to commit a badly indented file, you will see this:
$ cvs commit -m "Foo bar blah." fuux_quux.py
cvs commit: Pre-commit check failed
cvs [commit aborted]: correct above errors first!
The price to pay for this check is a slower commit time. (recall that
our CVS service runs on our good old aging server)
Please tell me if you spot any problem.
P.S. I might expand the hook to check for more syntactical problems
and/or coding style compliance, but maybe not on this aging
server... so please keep on pylinting your files before every
commit as usual.
Best regards
--
Tibor Simko ** CERN Document Server ** <http://cds.cern.ch/>