Makefile improvements + pre-commit hook (#340)

* Makefile improvements + pre-commit hook

* update make target in CI

* fix CI more

* .gitignore update

* couple more Makefile refinements

* make target-version explicit on ruff import sorting
This commit is contained in:
Gretchen Leigh Miller 2025-03-07 16:45:53 -08:00 committed by GitHub
parent f64db214d4
commit 65b0b5f50b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 71 additions and 10 deletions

11
dev/pre-commit Normal file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
# pre-commit.sh
# -------------
# An optional script which runs checks on code before commits.
make check
make check-format