Fix linting for modules.json to add support for only installing subworkflows from a repository#4287
Conversation
Codecov Report❌ Patch coverage is
☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
modules.json
modules.jsonmodules.json
modules.jsonmodules.json to add support for only installing subworkflows from a repository
|
@nf-core-bot fix linting |
|
mashehu
left a comment
There was a problem hiding this comment.
Thanks for the contribution, looks good!
Could you please also add a test case for a modules_json with only subworkflow entries (and one completely empty ones) to tests/modules/test_modules_json.py?
Very fair to request tests! We were trying to quickly patch the bug to move on with development. But I'll spend some extra time adding tests as I do agree it would make the codebase better. |
0cab392 to
1320832
Compare
|
sorry the last commit by me was meant for a different branch... |
60a6e51 to
061e80b
Compare
…modules_json_with_repo_with_no_modules_or_subworkflows_fail and refactor test_modules_json_with_only_subworkflow_entries.
mashehu
left a comment
There was a problem hiding this comment.
Looking good now. just a small comment about additional possible asserts, but good to go as it is 🙂
Closes #4286.
Improve linting for
modules.json:subworkflowshave been installed since this was currently not allowed.modulesorsubworkflowsinstalled for a repository.PR checklist
CHANGELOG.mdis updateddocsis updated