Add jupytext to pre-commit hooks.

master
junos 2023-07-03 17:35:45 +02:00
parent 1b77fb119c
commit dbb2033f78
1 changed files with 9 additions and 0 deletions

View File

@ -5,6 +5,15 @@ 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: