chore: use prek in noxfile/ci (#2681)

This commit is contained in:
Henry Schreiner
2025-12-23 18:51:19 -05:00
committed by GitHub
parent d0e070e278
commit 99059b7442
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# /// script
# dependencies = ["click", "packaging"]
# dependencies = ["click", "packaging", "prek"]
# ///
@@ -139,7 +139,7 @@ def bump_version() -> None:
# run pre-commit to update the README changelog
subprocess.run(
[
"pre-commit",
"prek",
"run",
"--files=docs/changelog.md",
],
@@ -149,7 +149,7 @@ def bump_version() -> None:
# run pre-commit to check that no errors occurred on the second run
subprocess.run(
[
"pre-commit",
"prek",
"run",
"--files=docs/changelog.md",
],