From 56170473265267a15685ae18b06de1b948e30a1e Mon Sep 17 00:00:00 2001 From: William Grochocinski Date: Fri, 7 Nov 2025 13:26:39 -0500 Subject: [PATCH 1/2] add nbstripout as developer dependency --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 3e7ec4ad..73bd9e6f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,7 @@ dependencies = [ [project.optional-dependencies] dev = [ + "nbstripout>=0.8.0", "jupytext>=1.18.1", "pytest-xdist>=3.8.0", "pytest>=9.0.1", From 1b5348dc511188bdb70dae8f118699bf30b9cc8c Mon Sep 17 00:00:00 2001 From: William Grochocinski Date: Fri, 7 Nov 2025 13:27:00 -0500 Subject: [PATCH 2/2] add gitattributes file to auto-run nbstripout --- gitattributes.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 gitattributes.txt diff --git a/gitattributes.txt b/gitattributes.txt new file mode 100644 index 00000000..f24d9335 --- /dev/null +++ b/gitattributes.txt @@ -0,0 +1,3 @@ +*.ipynb filter=nbstripout +*.zpln filter=nbstripout +*.ipynb diff=ipynb