Skip to content

Commit

Permalink
Fixes pre-commit isort issue and add nbstripout (#129)
Browse files Browse the repository at this point in the history
Add nbstripout to strip the additional tail of ipynb.
  • Loading branch information
unkcpz authored Feb 7, 2023
1 parent db35d93 commit 0b1c618
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repos:
- flake8-bugbear

- repo: https://github.com/pycqa/isort
rev: 5.11.4
rev: 5.12.0
hooks:
- id: isort
args: [--profile, black, --filter-files]
Expand All @@ -47,3 +47,8 @@ repos:
rev: 0.19.2
hooks:
- id: check-github-workflows

- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
hooks:
- id: nbstripout
4 changes: 1 addition & 3 deletions terminal.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"metadata": {},
"outputs": [],
"source": [
"%%javascript\n",
Expand Down

0 comments on commit 0b1c618

Please sign in to comment.