Schanzenbach, Martin transcribed 3.5K bytes: > > > > On 14. Mar 2019, at 09:10, Hartmut Goebel <[email protected]> > > 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.
Either a proper CI or extend what I started in lint/Makefile.am and the scripts belonging to it. Nothing in there changes code iirc, it just checks for correctness of code and standards. > > > > 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 | [email protected] | > > | www.crazy-compilers.com | compilers which you thought are impossible | > > > > > > > > _______________________________________________ > > GNUnet-developers mailing list > > [email protected] > > https://lists.gnu.org/mailman/listinfo/gnunet-developers > > _______________________________________________ > GNUnet-developers mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/gnunet-developers
signature.asc
Description: PGP signature
_______________________________________________ GNUnet-developers mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnunet-developers
