repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.5.0
    hooks:
      - id: end-of-file-fixer
      - id: trailing-whitespace
      - id: check-case-conflict
      - id: check-yaml
      - id: check-toml
      - id: check-json
      - id: check-added-large-files
      - id: check-docstring-first
      - id: detect-private-key

-   repo: https://github.com/kynan/nbstripout
    rev: 0.6.1
    hooks:
    -   id: nbstripout
-   repo: https://github.com/mwouts/jupytext
    rev: v1.16.0
    hooks:
    -   id: jupytext
        args: [--sync, --pipe, black]
        additional_dependencies:
            - black==22.6.0 # Matches hook
-   repo: https://github.com/psf/black
    rev: 23.12.0
    hooks:
    -   id: black
        args: [--line-length, "100"]
        language_version: python3
