Skip to content

Conversation

@Qazalbash
Copy link
Contributor

@Qazalbash Qazalbash commented Jan 20, 2026

This PR adds pre-commit checks to the CI pipeline. Instead of the standard pre-commit framework, it uses prek, a faster Rust-based alternative.

@Qazalbash Qazalbash changed the title ci: pre-commit hooks check in ci ci: prek for pre-commit hooks check Jan 20, 2026
Copy link
Collaborator

@juanitorduz juanitorduz left a comment

Choose a reason for hiding this comment

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

I like this because we could add more integration with ruff and ty if necessary. Fut as its a ci change I will let @fehiepsi decide :)

@fehiepsi
Copy link
Member

I'm not familiar with prek. I let you decide @juanitorduz . :)

@juanitorduz
Copy link
Collaborator

Ok, then let's merge and experiment, as I see we could simplify our lint process a bit :)

I also see it is being used in other big projects https://github.com/j178/prek?tab=readme-ov-file#who-is-using-prek

@juanitorduz juanitorduz merged commit c38f0f4 into pyro-ppl:master Jan 22, 2026
17 of 18 checks passed
@Qazalbash Qazalbash deleted the ci-pre-commit-hook branch January 22, 2026 20:15
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.

3 participants