Skip to content

Commit c6146a3

Browse files
committed
Also check the noxfile in the style env.
1 parent a6c8f62 commit c6146a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

noxfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
path.parent / f"{path.stem}.in" for path in REQUIREMENTS.values()
1818
]
1919

20-
SUPPORTED = ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.10"]
21-
LATEST = "3.12"
20+
SUPPORTED = ["3.8", "3.9", "3.10", "pypy3.10", "3.11", "3.12"]
21+
LATEST = SUPPORTED[-1]
2222

2323
nox.options.sessions = []
2424

@@ -89,7 +89,7 @@ def style(session):
8989
Check Python code style.
9090
"""
9191
session.install("ruff")
92-
session.run("ruff", "check", ROOT)
92+
session.run("ruff", "check", ROOT, __file__)
9393

9494

9595
@session()

0 commit comments

Comments
 (0)