> On 14. Mar 2019, at 09:10, Hartmut Goebel <h.goe...@crazy-compilers.com> > wrote: > > Am 13.03.19 um 19:16 schrieb Schanzenbach, Martin: >> In the end, please also check https://docs.gnunet.org/#Coding-style and >> adjust your editor to it. >> Currently, the file has mixed spaces and tabs which is quite unreadable (for >> me). > > Thanks for pointing this out, I simply missed this. Coming form > Python-land, there is basically a single coding style :-) > > Can somebody provide me with a emacs ".dir-locals.el" file, please? > Generally, for emacs users adding a ".dir-locals.el" in to top level > directories of each project could configure the emacs to our coding style. > > > Am 13.03.19 um 22:29 schrieb Schanzenbach, Martin: > >> Either that or have a lint job in the pipeline in the CI. > > This but mess up the blame, too. >
The lint job should not change things, just complain. Ideally, future automatic merges into master, for example, could be rejected if the linter complains. > > Am 13.03.19 um 21:27 schrieb ng0: >> Okay. Works for C, but not in intendation enforcing languages (Python), >> where I've done it like this. > > Python already provides a moduel for this: tabnanny [1] > > python -m tabnanny file_or_directory ... > > [1] https://docs.python.org/3/library/tabnanny.html > > > > -- > Regards > Hartmut Goebel > > | Hartmut Goebel | h.goe...@crazy-compilers.com | > | www.crazy-compilers.com | compilers which you thought are impossible | > > > > _______________________________________________ > GNUnet-developers mailing list > GNUnet-developers@gnu.org > https://lists.gnu.org/mailman/listinfo/gnunet-developers
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ GNUnet-developers mailing list GNUnet-developers@gnu.org https://lists.gnu.org/mailman/listinfo/gnunet-developers