Skip to content

Commit

Permalink
Use pre-commit to strip notebook output
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcoe committed Mar 31, 2024
1 parent 9d6260c commit 6e46eb6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@ repos:
hooks:
- id: black
- id: black-jupyter
- repo: https://github.com/kynan/nbstripout
rev: 0.7.1
hooks:
- id: nbstripout
14 changes: 7 additions & 7 deletions Sandbox.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "df29dca7-2d79-42a0-b74f-3eebbd48512d",
"id": "0",
"metadata": {
"tags": []
},
Expand All @@ -15,7 +15,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "1d59eb20-7218-4619-9de2-e411cbed53f7",
"id": "1",
"metadata": {
"tags": []
},
Expand All @@ -27,7 +27,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "66041f39-125c-4969-9a61-16d327b38fa4",
"id": "2",
"metadata": {
"tags": []
},
Expand All @@ -42,7 +42,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "a4c57fec-9e2e-445a-b8cf-9d182f58d88c",
"id": "3",
"metadata": {
"tags": []
},
Expand All @@ -60,7 +60,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e9ba3ee3-b0a7-4b50-93b9-e05660760948",
"id": "4",
"metadata": {
"tags": []
},
Expand All @@ -81,7 +81,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d341bf1b-5df6-4405-9334-6af4fd7c57c3",
"id": "5",
"metadata": {
"tags": []
},
Expand All @@ -93,7 +93,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e6ab9afc-e459-4864-bc95-9f7b1d1d67ae",
"id": "6",
"metadata": {},
"outputs": [],
"source": []
Expand Down

0 comments on commit 6e46eb6

Please sign in to comment.