Skip to content

switch from pre-commit to prek#3

Merged
adamrtalbot merged 1 commit into
seqeralabs:mainfrom
mashehu:switch-to-prek
Mar 2, 2026
Merged

switch from pre-commit to prek#3
adamrtalbot merged 1 commit into
seqeralabs:mainfrom
mashehu:switch-to-prek

Conversation

@mashehu
Copy link
Copy Markdown
Contributor

@mashehu mashehu commented Feb 11, 2026

All the cool kids are using this actively developed rust-rewrite instead nowadays.

@adamrtalbot
Copy link
Copy Markdown
Collaborator

This should be a separate project unless it's possible to support both.

@mashehu
Copy link
Copy Markdown
Contributor Author

mashehu commented Mar 2, 2026

not sure what you mean... prek can be used as a drop-in-replacement with the same configs etc.

Copy link
Copy Markdown
Collaborator

@adamrtalbot adamrtalbot left a comment

Choose a reason for hiding this comment

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

Why not, eh?

- name: Install dependencies
run: |
pip install pre-commit
pip install prek
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Perhaps we should run uv tool install prek instead of pip

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

tested it for nf-core tools and if you just use one tool, pip is faster inside GHA

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

OK will merge and ask for forgiveness

@adamrtalbot adamrtalbot merged commit 86c246f into seqeralabs:main Mar 2, 2026
6 checks passed
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.

2 participants