Skip to content

Commit 25c45c0

Browse files
authored
Simplify nox options configuration (#279)
1 parent aa1acc1 commit 25c45c0

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

noxfile.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import nox
2-
from nox import Session, param, parametrize, session
1+
from nox import Session, options, param, parametrize, session
32

4-
nox.options.error_on_external_run = True
5-
nox.options.default_venv_backend = "uv"
6-
nox.options.sessions = ["lint", "type_check", "test", "docs"]
3+
options.error_on_external_run = True
4+
options.default_venv_backend = "uv"
5+
options.sessions = ["lint", "type_check", "test", "docs"]
76

87

98
@session(python=["3.9", "3.10", "3.11", "3.12", "3.13"])

0 commit comments

Comments
 (0)