chore: use prek in noxfile/ci (#2681)
This commit is contained in:
+2
-2
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user