## Automatically update pre-commit hooks on new revisions
@nox.session(python=PY_VERSIONS, name="pre-commit-update")
def run_pre_commit_autoupdate(session: nox.Session):
session.install(f"pre-commit")
print("Running pre-commit update hook")
session.run("pre-commit", "run", "pre-commit-update")