Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Commit 1d80d67

Browse files
committed
try pinning py3.12 in blacken
1 parent bd926f7 commit 1d80d67

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def lint(session):
161161
session.run("flake8", "google", "tests")
162162

163163

164-
@nox.session(python=DEFAULT_PYTHON_VERSION)
164+
@nox.session(python="3.12")
165165
def blacken(session):
166166
"""Run black. Format code to uniform standard."""
167167
session.install(BLACK_VERSION)

samples/snippets/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def lint(session: nox.sessions.Session) -> None:
147147
#
148148

149149

150-
@nox.session
150+
@nox.session(python="3.12")
151151
def blacken(session: nox.sessions.Session) -> None:
152152
"""Run black. Format code to uniform standard."""
153153
session.install(BLACK_VERSION)

0 commit comments

Comments
 (0)