Re: [GNUnet-developers] make pretty

2019-10-14 Thread ng0
If it's not obvious what this does (read the source): if uncrustify exists, it runs uncrustify on every C + header file in the repository. if yapf exists (or any of its variant names), it runs yapf on every python (py, py.in) file. Both of these tools apply our coding standards (yapf will be le

[GNUnet-developers] make pretty

2019-10-14 Thread ng0
Hi, as suggested in naming to me, you can now run make pretty after a re-bootstrap and/or configure when uncrustify is detected and subsequentially if yapf is detected. The nesting is not perfect, but for now it works. This should make the previous "pre-commit" file obsolete, I've move