-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1929: local modules use remote format from template #3256
base: dev
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files☔ View full report in Codecov by Sentry. |
nf_core/modules/lint/module_tests.py
Outdated
@@ -22,6 +22,8 @@ def module_tests(_, module: NFCoreComponent): | |||
and contains a ``main.nf.test`` and a ``main.nf.test.snap`` | |||
|
|||
""" | |||
if module.nftest_testdir is None or module.nftest_main_nf is None: | |||
raise ValueError() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't we want to allow local modules to not have these files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this was my first-pass to get mypy
happy so I could run the tests on GitHub yesterday. I am updating the individual lint tests to be a bit more permissive of missing files for local modules.
Co-authored-by: Júlia Mir Pedrol <[email protected]>
There are currently no tests at all implemented for the linting of local modules or subworkflows 😱 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good, but there is a test failing, LGTM once this is fixed 🚀
PR checklist
CHANGELOG.md
is updateddocs
is updated