Skip to content

switch to prek to handle pre-commit rules#9406

Merged
mashehu merged 8 commits intonf-core:masterfrom
mashehu:switch-to-prek
Nov 25, 2025
Merged

switch to prek to handle pre-commit rules#9406
mashehu merged 8 commits intonf-core:masterfrom
mashehu:switch-to-prek

Conversation

@mashehu
Copy link
Contributor

@mashehu mashehu commented Nov 14, 2025

Faster (and hopefully friendlier maintained) drop-in replacement for pre-commit: prek.j178.dev/quickstart#already-using-pre-commit

See nf-core/website#3650 and nf-core/tools#3899 for the same in other contexts.

@mashehu mashehu requested review from a team as code owners November 14, 2025 11:16
mashehu and others added 2 commits November 14, 2025 12:48
Co-authored-by: JulianFlesch <julianflesch@googlemail.com>
@mashehu
Copy link
Contributor Author

mashehu commented Nov 14, 2025

closing this until we have all files linted first

@mashehu mashehu closed this Nov 14, 2025
@mashehu mashehu reopened this Nov 18, 2025
@mashehu
Copy link
Contributor Author

mashehu commented Nov 24, 2025

@nf-core-bot fix linting

@nf-core nf-core deleted a comment from github-actions bot Nov 24, 2025
Copy link
Member

@maxulysse maxulysse left a comment

Choose a reason for hiding this comment

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

LGTM

Co-authored-by: Maxime U Garcia <max.u.garcia@gmail.com>
@mashehu mashehu enabled auto-merge November 25, 2025 09:52
@mashehu mashehu added this pull request to the merge queue Nov 25, 2025
Merged via the queue into nf-core:master with commit a12d623 Nov 25, 2025
19 checks passed
@mashehu mashehu deleted the switch-to-prek branch November 25, 2025 09:58
cavenel pushed a commit to cavenel/modules that referenced this pull request Feb 5, 2026
* switch to prek to handle pre-commit rules * only run prek on changed files * Update .devcontainer/setup.sh Co-authored-by: JulianFlesch <julianflesch@googlemail.com> * add fetch step * Update .prettierrc.yml Co-authored-by: Maxime U Garcia <max.u.garcia@gmail.com> --------- Co-authored-by: JulianFlesch <julianflesch@googlemail.com> Co-authored-by: Maxime U Garcia <max.u.garcia@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants