Skip to content

Commit aeb670f

Browse files
committed
fix: nbval ignore kernel in notebook. Use current env
1 parent 0fe5c9a commit aeb670f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ requirements-out-dir = "deps/lock"
6969
python-platforms = ["x86_64-manylinux_2_28", "aarch64-apple-darwin", "x86_64-apple-darwin"]
7070

7171
[tool.pytest.ini_options]
72-
addopts = ["--cov=ml_project", "--nbval"] # CHANGE (name of the importing module name)
72+
addopts = ["--cov=ml_project", "--nbval", "--nbval-current-env"] # CHANGE (name of the importing module name)
7373
testpaths = ["tests"]
7474

7575
log_cli = true

0 commit comments

Comments
 (0)