Hi,

*For PU-developers only**:*
Every time you submit a pull request to PU there's currently a kwalitee check which checks PEP8, copyright year, pyflakes and the commit message format.

All these checks you can now run locally via git hooks:

pip install https://github.com/jirikuncar/invenio-kwalitee.git
cd ~/src/invenio
kwalitee githooks install

This will prevent you from committing something that doesn't pass the checks (note, the checks can be disabled pretty easily if you want to ignore the advice ;-) More info is available https://github.com/jirikuncar/invenio-kwalitee

Please give it a run, send bug reports, and happily fork away or let us know what to improve by submitting an issue.

Lastly, I can't stress enough, that by far the easiest is to plug the checks directly in your editor. Personally I use Sublime 3 with https://github.com/DamnWidget/anaconda, but there's many other alternatives for whatever editor you prefer. Chance is that the developer next to you already have these checks, so just ask if you don't know what to do.

Cheers,
Lars

--
Lars Holm Nielsen
CERN, IT Department, Collaboration & Information Services
http://zenodo.org | Tel: +41 22 76 79182 | Cel: +41 76 672 8927

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to