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
+2 -2
View File
@@ -33,8 +33,8 @@ def lint(session: nox.Session) -> None:
"""
Run the linter.
"""
session.install("pre-commit")
session.run("pre-commit", "run", "--all-files", *session.posargs)
session.install("prek")
session.run("prek", "run", "--all-files", *session.posargs)
@nox.session(tags=["lint"])