galaxyproject / planemo

Command-line utilities to assist in developing Galaxy and Common Workflow Language artifacts - including tools, workflows, and training materials.
https://planemo.readthedocs.io/
MIT License
89 stars 85 forks source link

[feature request] workflow_lint could use a structured data output #1360

Open hexylena opened 1 year ago

hexylena commented 1 year ago

Apparently it supports XSD but I cannot reproduce this

(.venv) 12:21:43|(smorg) [user@w-galaxy:~/arbeit/galaxy/training-material]1$ planemo workflow_lint topics/variant-analysis/tutorials/dunovo/workflows/dunovo.ga --report_xunit out.xml
...
(.venv) 12:21:41|(smorg) [user@w-galaxy:~/arbeit/galaxy/training-material]1$ cat out.xml
cat: out.xml: No such file or directory

but if there's an option for maybe, json output? That'd be really useful.

Additionally if there is any possibility for emitting line numbers, that would be truly incredible and I can generate much nicer output with reviewdog for our users.

mvdbeek commented 1 year ago

Apparently it supports XSD

Nope, just inherits the wrong click flags

maybe, json output?

makes sense

Additionally if there is any possibility for emitting line numbers,

Yeah, that's a good idea, though I guess we'll have to use a different parser for that.