Add more jupytext args.
parent
471ce7c2cb
commit
fed4b33611
|
@ -5,15 +5,6 @@ repos:
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- repo: https://github.com/mwouts/jupytext
|
|
||||||
rev: v1.14.7
|
|
||||||
hooks:
|
|
||||||
- id: jupytext
|
|
||||||
args: [--sync, --pipe, isort, black, flake8]
|
|
||||||
additional_dependencies:
|
|
||||||
- isort==5.12.0 # Matches hook
|
|
||||||
- black==22.3.0
|
|
||||||
- flake8==6.0.0
|
|
||||||
- repo: https://github.com/pycqa/isort
|
- repo: https://github.com/pycqa/isort
|
||||||
rev: 5.12.0
|
rev: 5.12.0
|
||||||
hooks:
|
hooks:
|
||||||
|
@ -28,3 +19,12 @@ repos:
|
||||||
rev: 6.0.0
|
rev: 6.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
|
- repo: https://github.com/mwouts/jupytext
|
||||||
|
rev: v1.14.7
|
||||||
|
hooks:
|
||||||
|
- id: jupytext
|
||||||
|
args: [ --from, "py:percent", --to, "ipynb" ]
|
||||||
|
additional_dependencies:
|
||||||
|
- isort==5.12.0 # Matches hook
|
||||||
|
- black==23.3.0
|
||||||
|
- flake8==6.0.0
|
||||||
|
|
Loading…
Reference in New Issue