<@UE4K7EZ4G> - Yes, the automatic style beautifie...
# linting
p
@Alex Peltzer - Yes, the automatic style beautifier - that's what I'm after. I don't mean syntax highlighting - this is there. @Maxime Garcia - editors are customizable and you will have discrepancies between contributors quickly. I'm looking for something like pep-8 enforcement for python style. @hpatel: oh shoot 🙂 To be honest, I had a go on this already. I didn't manage to find any tool that has current support also. Groovy itself seems to have very poor support in that respect. In the end, I configured
uncrustify
to do 95% of the job, but there are few drawbacks: • problems appear at the script sections • the autosorting of imports didn't work • there are some problems when not using
;
at the end of statement, which in groovy is optional. My feeling is that we'll need to have a go at custom NXF parser and beautifier. Or maybe divide NXF code into parts each treated separately and then merge it back together. Pep-8: https://www.python.org/dev/peps/pep-0008/
😲 1