Add more jupytext args.

master
junos 2023-07-03 18:00:55 +02:00
parent 471ce7c2cb
commit fed4b33611
1 changed files with 9 additions and 9 deletions

View File

@ -5,15 +5,6 @@ repos:
- id: check-yaml
- id: end-of-file-fixer
- 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
rev: 5.12.0
hooks:
@ -28,3 +19,12 @@ repos:
rev: 6.0.0
hooks:
- 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