From 5871d4e1871eda1c3d477c866ab08f26ce2057cb Mon Sep 17 00:00:00 2001 From: Arthur Meyre Date: Wed, 15 Sep 2021 18:11:28 +0200 Subject: [PATCH] fix(tools): update Makefile for moved notebooks --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 685896be7..c438c5af0 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ SHELL:=/bin/bash DEV_DOCKER_IMG:=concretefhe-dev DEV_DOCKERFILE:=docker/Dockerfile.concretefhe-dev SRC_DIR:=concrete +NOTEBOOKS_DIR:=docs/user/advanced_examples setup_env: poetry install @@ -27,8 +28,8 @@ check_python_format: .PHONY: check_python_format check_strip_nb: - poetry run python ./script/nbmake_utils/notebook_sanitize.py examples --check -.PHONY: strip_nb + poetry run python ./script/nbmake_utils/notebook_sanitize.py $(NOTEBOOKS_DIR) --check +.PHONY: check_strip_nb pylint: $(MAKE) --keep-going pylint_src pylint_tests pylint_benchmarks @@ -165,11 +166,11 @@ pydocstyle: .PHONY: pydocstyle strip_nb: - poetry run python ./script/nbmake_utils/notebook_sanitize.py examples + poetry run python ./script/nbmake_utils/notebook_sanitize.py $(NOTEBOOKS_DIR) .PHONY: strip_nb pytest_nb: - poetry run pytest --nbmake docs/user/advanced_examples/*.ipynb + poetry run pytest --nbmake $(NOTEBOOKS_DIR)/*.ipynb .PHONY: pytest_nb benchmark: