Commit f04576b
committed
π§ Template: Add `precommit CI
Add a very basic pre-commit job to the Github Actions CI. Notes:
* We use the Hatch script defined in the `pyproject.toml` to run the pre-commit. This
makes it more likely that local and remote execution will be the same.
* We fix the Python version of the runner to have a more deterministic CI. This does
mean we'll have to update it once Python 3.13 is no longer supported, but that'll be
a while.1 parent e5fe8c8 commit f04576b
File tree
3 files changed
+20
-0
lines changed- template/.github/workflows
3 files changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments