<div dir="ltr">Thats right folks,<br> I think I've successfully written a test which checks for bazaar code style regressions in the not-yet-commited changes of the working tree being tested.<br> Currently I check all newly modified .py files for:<br>
* new trailing white space<br> * new leading tabs<br> * new long lines (give warning only)<br> * no newline at end of files<br clear="all"><br>It already came in usefull while preparing this patch<br>
./bzr --no-plugins selftest coding_style<br>will help people like me to easily prepare non-style-regressing patches.<br><br>I mostly copied code from diff and friends.<br><br>regards<br>marius<br><br>-- <br>a patch a day<br>
</div>