-
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
Create pre-commit hooks #3141
base: dev
Are you sure you want to change the base?
Create pre-commit hooks #3141
Conversation
I think this should be in the pipeline template, no? |
They could be in the pipeline template, but I just made a seperate hook that just works for the pipeline and added that to the template. Might want to look at the stages options. I'm thinking |
Co-authored-by: mashehu <[email protected]>
df23fa0
to
cffb787
Compare
* ci: Fix linting getting skipped * ci: Add list-files json * ci: Why do we need a Docker container again? * ci: Can't use a script if it doesn't exist yet Co-authored-by: adamrtalbot <[email protected]> * ci: Skip outputs if they're empty * style: Run lsp on fastqc * ci: Use files to skip extra steps * ci(lint): Get the module name nf-core/tools#3141 * ci: Add what shell to run on * ci: Clean up the names in the filter step * ci: Add hack to only lint the real changes * ci: Add more to debug step * ci(lint): Get fancy with map * ci: One more time * ci: Maybe? * ci: results => result * ci: Death by a thousand s's * ci: Use Set * ci: Use one at a time * ci(gpu): Update step name * ci: Remove clean workspace after run * ci: Why does that break things? * Revert "style: Run lsp on fastqc" This reverts commit da64fce. --------- Co-authored-by: adamrtalbot <[email protected]>
cffb787
to
e41f8c2
Compare
e41f8c2
to
e4a2f4c
Compare
Removed |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files☔ View full report in Codecov by Sentry. |
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.
I am a bit worried that it will be annoying to find linting errors in a subworkflow you are not trying to modify, if we lint all subworkflows.
Otherwise looks good. I have added #3140 to the milestone to work on it
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.
pre-commits logging is really bad, therefore I wouldn't add our linting logs to it.
Adds pre-commit hooks config for the repo.
Blocked by #3140 currently. Docs if anyone has any ideas https://pre-commit.com/#new-hooks