2424
2525DIR = Path (__file__ ).parent .resolve ()
2626
27- nox .options .sessions = [
28- "lint" ,
29- "pylint" ,
30- "generate_schema" ,
31- "readme" ,
32- "build_api_docs" ,
33- "tests" ,
34- "test_doc_examples" ,
35- ]
36-
3727
3828@nox .session (reuse_venv = True )
3929def lint (session : nox .Session ) -> None :
@@ -122,7 +112,7 @@ def readme(session: nox.Session) -> None:
122112 session .run ("cog" , "-P" , * args , "README.md" )
123113
124114
125- @nox .session (venv_backend = "uv" )
115+ @nox .session (venv_backend = "uv" , default = False )
126116def minimums (session : nox .Session ) -> None :
127117 """
128118 Test the minimum versions of dependencies.
@@ -135,7 +125,7 @@ def minimums(session: nox.Session) -> None:
135125 )
136126
137127
138- @nox .session (reuse_venv = True )
128+ @nox .session (reuse_venv = True , default = False )
139129def docs (session : nox .Session ) -> None :
140130 """
141131 Build the docs. Use "--non-interactive" to avoid serving. Pass "-b linkcheck" to check links.
@@ -187,7 +177,7 @@ def build_api_docs(session: nox.Session) -> None:
187177 )
188178
189179
190- @nox .session
180+ @nox .session ( default = False )
191181def build (session : nox .Session ) -> None :
192182 """
193183 Build an SDist and wheel.
@@ -226,7 +216,7 @@ def test_doc_examples(session: nox.Session, example: str) -> None:
226216 session .run ("pytest" )
227217
228218
229- @nox .session
219+ @nox .session ( default = False )
230220def downstream (session : nox .Session ) -> None :
231221 """
232222 Build a downstream project.
@@ -304,7 +294,7 @@ def downstream(session: nox.Session) -> None:
304294 session .run ("python" , "-c" , args .code )
305295
306296
307- @nox .session (venv_backend = "none" )
297+ @nox .session (venv_backend = "none" , default = False )
308298def vendor_pyproject_metadata (session : nox .Session ) -> None :
309299 """
310300 Vendor pyproject.toml metadata.
0 commit comments