repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v4.4.0
  hooks:
  - id: check-yaml
  - id: end-of-file-fixer
  - id: trailing-whitespace
- repo: https://github.com/psf/black
  rev: 23.1.0
  hooks:
  - id: black-jupyter
- repo: https://github.com/pre-commit/mirrors-mypy
  rev: 'v1.0.1'  # Use the sha / tag you want to point at
  hooks:
  - id: mypy
- repo: https://github.com/asottile/pyupgrade
  rev: v3.3.1
  hooks:
  - id: pyupgrade
    args: [--py311-plus]
- repo: https://github.com/PyCQA/flake8
  rev: 6.0.0
  hooks:
  - id: flake8
- repo: https://github.com/nbQA-dev/nbQA
  rev: 1.6.3
  hooks:
   - id: nbqa-pyupgrade
     args: [--py311-plus]
   - id: nbqa-isort
     args: [--profile, black]
   - id: nbqa-flake8