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
86 stars 85 forks source link

Tool linting add `--skip_file` and remove lxml schema validation #1420

Closed bernt-matthias closed 2 months ago

bernt-matthias commented 7 months ago

xref https://github.com/galaxyproject/galaxy/pull/17081

bernt-matthias commented 2 months ago

@mvdbeek this one would also be needed. For IUC my plan is to allow a global skip file and per tool skip files. Should I allow to specify --skip_file multiple times (or should we just merge the files and use the result in the planemo action).

I was also thinking if it would be cool to allow changing the level (info, warning, error, ...) for each linter instead of just enabling or disabling it? For now I would go for enable/disable since setting the level would require a change to tool-util again.