Add jupytext to pre-commit hooks.
parent
1b77fb119c
commit
dbb2033f78
|
@ -5,6 +5,15 @@ 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:
|
||||
|
|
Loading…
Reference in New Issue