From 54a71357f8cf46f1024e3e9ab7b626ba2c57c5dd Mon Sep 17 00:00:00 2001 From: Manuel Lera-Ramirez Date: Mon, 30 Sep 2024 12:02:52 +0100 Subject: [PATCH] exclude test notebooks --- .pre-commit-config.yaml | 1 + tests/jupyter_test_repr.ipynb | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 557280f4..d8569140 100755 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,3 +26,4 @@ repos: python -m nbstripout --keep-output $@ language: system files: \.ipynb$ + exclude: tests/ diff --git a/tests/jupyter_test_repr.ipynb b/tests/jupyter_test_repr.ipynb index 8d139dfa..e1794c27 100755 --- a/tests/jupyter_test_repr.ipynb +++ b/tests/jupyter_test_repr.ipynb @@ -1411,9 +1411,9 @@ "metadata": { "anaconda-cloud": {}, "kernelspec": { - "display_name": "Python [conda env:bjorn311]", + "display_name": ".venv", "language": "python", - "name": "conda-env-bjorn311-py" + "name": "python3" }, "language_info": { "codemirror_mode": { @@ -1425,7 +1425,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.7" + "version": "3.12.6" } }, "nbformat": 4,