99
1010@nox .session (python = ["3.10" , "3.11" , "3.12" , "3.13" ])
1111def tests (session : Session ) -> None :
12- session .install ("-r" , "requirements_dev.txt " )
12+ session .install (".[test] " )
1313 venvroot = Path (session .bin ).parent
1414 (venvroot / "node_modules" ).mkdir ()
1515 with session .chdir (venvroot ):
@@ -29,7 +29,7 @@ def tests(session: Session) -> None:
2929@nox .parametrize ("typedoc" , ["0.25" , "0.26" , "0.27" , "0.28" ])
3030def test_typedoc (session : Session , typedoc : str ) -> None :
3131 # Install python dependencies
32- session .install ("-r" , "requirements_dev.txt " )
32+ session .install (".[test] " )
3333 venvroot = Path (session .bin ).parent
3434 node_modules = (venvroot / "node_modules" ).resolve ()
3535 node_modules .mkdir ()
@@ -68,7 +68,7 @@ def test_typedoc(session: Session, typedoc: str) -> None:
6868@nox .session (python = ["3.12" ])
6969def test_sphinx_6 (session : Session ) -> None :
7070 session .install ("sphinx<7" )
71- session .install ("-r" , "requirements_dev.txt " )
71+ session .install (".[test] " )
7272 venvroot = Path (session .bin ).parent
7373 (venvroot / "node_modules" ).mkdir ()
7474 with session .chdir (venvroot ):
0 commit comments