Skip to content

Commit

Permalink
skipping the scan notebooks in pdm-check
Browse files Browse the repository at this point in the history
  • Loading branch information
rabah-khalek committed Aug 19, 2024
1 parent ede707f commit 0cfc461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ notebook = "jupyter notebook --ip 0.0.0.0 --port 8888 --no-browser --notebook-di
format.cmd = "bash -c 'ruff check ./giskard_vision ./tests --fix && black ./giskard_vision ./examples ./tests && isort ./giskard_vision ./tests'"
check-format.cmd = "bash -c 'ruff check ./giskard_vision ./tests && black --check ./giskard_vision ./examples ./tests && isort --check ./giskard_vision ./tests'"
test.cmd = "pytest tests/ -c pyproject.toml --disable-warnings -vvv --durations=0"
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'"
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'"

[tool.pdm.dev-dependencies]
dev = [
Expand Down

0 comments on commit 0cfc461

Please sign in to comment.