-
Notifications
You must be signed in to change notification settings - Fork 188
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
Template: add option to exclude code linters for custom pipeline template #3084
Conversation
e2ecfdd
to
a4c829f
Compare
Co-authored-by: Matthias Hörtenhuber <mashehu@users.noreply.github.com>
".prettierignore", | ||
".prettierrc.yml", | ||
".github/workflows/fix-linting.yml", | ||
], | ||
} | ||
# Get list of files we're skipping with the supplied skip keys | ||
self.skip_paths = set(sp for k in skip_paths for sp in skippable_paths[k]) |
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.
We should consider the ability to include or exclude specific files via the .nf-core.yml
here. Not clear how we should do this yet but it could be a specific key for the .nf-core.yml
:
exclude:
- .github/workflows/fix-linting.yml
- .github/workflows/clean-up.yml
include:
- .github/workflows/ci.yml
This would override the broad categories by the wizard. It could be bypassed when using the TUI for now, consider it an advanced feature.
Part of #2340 and #2342