Skip to content

Commit 0cfc461

Browse files
committed
skipping the scan notebooks in pdm-check
1 parent ede707f commit 0cfc461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ notebook = "jupyter notebook --ip 0.0.0.0 --port 8888 --no-browser --notebook-di
3535
format.cmd = "bash -c 'ruff check ./giskard_vision ./tests --fix && black ./giskard_vision ./examples ./tests && isort ./giskard_vision ./tests'"
3636
check-format.cmd = "bash -c 'ruff check ./giskard_vision ./tests && black --check ./giskard_vision ./examples ./tests && isort --check ./giskard_vision ./tests'"
3737
test.cmd = "pytest tests/ -c pyproject.toml --disable-warnings -vvv --durations=0"
38-
check-notebook = "bash -c 'for dir in $(find ~+/examples -type f -name \"*ipynb\" ! -name \"*scan*\" | sed -E \"s|/[^/]+$||\" |sort -u); do cd $dir && pdm run jupyter nbconvert --to script -y $(ls *.ipynb | grep -v "scan") && find . -type f | grep -e \".py$\" | sort | xargs -I {} echo \"pdm run python {} && echo \"Notebook {} OK\" || exit 1\" | sh; done'"
38+
check-notebook = "bash -c 'for dir in $(find ~+/examples -type f -name \"*ipynb\" ! -name \"*scan*\" | sed -E \"s|/[^/]+$||\" |sort -u); do cd $dir && pdm run jupyter nbconvert --to script -y $(ls *.ipynb | grep -v \"scan\") && find . -type f | grep -e \".py$\" | sort | xargs -I {} echo \"pdm run python {} && echo \"Notebook {} OK\" || exit 1\" | sh; done'"
3939

4040
[tool.pdm.dev-dependencies]
4141
dev = [

0 commit comments

Comments
 (0)