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

allow mixed str and dict in lint config #3228

Open
wants to merge 19 commits into
base: dev
Choose a base branch
from

Conversation

mashehu
Copy link
Contributor

@mashehu mashehu commented Oct 17, 2024

we should probably rewrite this into a TypedDict or similar in the future.

@Joon-Klaps
Copy link
Contributor

Could you write a quick test for this as well?

Copy link
Contributor

@Joon-Klaps Joon-Klaps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tried my best but am not entirely following with all changes due to a lack of knowledge on the codebase of nf-tools.
Tested it also again on my pipeline & new failed tests were popping up because actions_ci was not included in the class NFCoreYamlLintConfig(BaseModel

tests/pipelines/lint/test_nfcore_yml.py Show resolved Hide resolved
nf_core/utils.py Outdated Show resolved Hide resolved
nf_core/utils.py Show resolved Hide resolved
@mashehu mashehu added the WIP Work in progress label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants