sage icon indicating copy to clipboard operation
sage copied to clipboard

pre-commit

Open mkoeppe opened this issue 1 year ago • 2 comments

https://pre-commit.com/

Projects typically provide the pre-commit configuration for developers to opt-in locally.

Some projects additionally run the pre-commit then on each PR and have it commit to the branch. That can be done easily using the GH application https://github.com/marketplace/pre-commit-ci

mkoeppe avatar Feb 25 '24 07:02 mkoeppe

Here's a simple example that I use locally: https://gist.github.com/grhkm21/6d20ddd7f11b3c00f889349052a43947, as a "sanity check" before CI shouts at me

grhkm21 avatar Feb 25 '24 19:02 grhkm21

Relevant PR: https://github.com/sagemath/sage/pull/39085.

365andreas avatar May 19 '25 21:05 365andreas