Skip to content
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

Draft
wants to merge 9 commits into
base: dev
Choose a base branch
from

Conversation

awgymer
Copy link
Contributor

@awgymer awgymer commented Oct 28, 2024

PR checklist

  • This comment contains a description of changes (with reason)
  • CHANGELOG.md is updated
  • If you've fixed a bug or added code that should be tested, add tests!
  • Documentation in docs is updated

@awgymer awgymer changed the title fix(1929): more type-gating 1929: local modules use remote format from template Oct 28, 2024
Copy link

codecov bot commented Oct 28, 2024

@@ -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()
Copy link
Member

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?

Copy link
Contributor Author

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.

@awgymer
Copy link
Contributor Author

awgymer commented Oct 29, 2024

There are currently no tests at all implemented for the linting of local modules or subworkflows 😱

Copy link
Member

@mirpedrol mirpedrol left a 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 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants