diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d574f48..c01414b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: