@@ -80,7 +80,7 @@ def safety(session: Session) -> None:
8080def mypy (session : Session ) -> None :
8181 """Type-check using mypy."""
8282 args = session .posargs or ["src" , "tests" , "docs/conf.py" ]
83- session .install ("." )
83+ session .install (".[all] " )
8484 session .install ("mypy" , "pytest" )
8585 session .run ("mypy" , * args )
8686 if not session .posargs :
@@ -90,7 +90,7 @@ def mypy(session: Session) -> None:
9090@session (python = python_versions )
9191def tests (session : Session ) -> None :
9292 """Run the test suite."""
93- session .install ("." )
93+ session .install (".[all] " )
9494 session .install ("coverage[toml]" , "pytest" , "pytest-datadir" , "pygments" )
9595 try :
9696 session .install ("ray" )
@@ -120,7 +120,7 @@ def coverage(session: Session) -> None:
120120@session (python = python_versions )
121121def typeguard (session : Session ) -> None :
122122 """Runtime type checking using Typeguard."""
123- session .install ("." )
123+ session .install (".[all] " )
124124 session .install ("pytest" , "pytest-datadir" , "typeguard" , "pygments" , "ray" )
125125 session .run ("pytest" , f"--typeguard-packages={ package } " , * session .posargs )
126126
@@ -129,7 +129,7 @@ def typeguard(session: Session) -> None:
129129def docs_build (session : Session ) -> None :
130130 """Build the documentation."""
131131 args = session .posargs or ["docs" , "docs/_build" ]
132- session .install ("." , * doc_build_packages )
132+ session .install (".[all] " , * doc_build_packages )
133133
134134 build_dir = Path ("docs" , "_build" )
135135 if build_dir .exists ():
@@ -142,7 +142,7 @@ def docs_build(session: Session) -> None:
142142def docs (session : Session ) -> None :
143143 """Build and serve the documentation with live reloading on file changes."""
144144 args = session .posargs or ["--open-browser" , "docs" , "docs/_build" ]
145- session .install ("." , * doc_build_packages )
145+ session .install (".[all] " , * doc_build_packages )
146146
147147 build_dir = Path ("docs" , "_build" )
148148 if build_dir .exists ():
0 commit comments