repos: - repo: https://github.com/kynan/nbstripout rev: 3843f5f7c586fa6f0df81423f35d52e6af8e3039 hooks: - id: nbstripout args: [ --extra-keys, "metadata.interpreter metadata.language_info.codemirror_mode metadata.language_info.file_extension metadata.language_info.mimetype metadata.language_info.nbconvert_exporter metadata.language_info.pygments_lexer metadata.language_info.version metadata.kernelspec", --keep-output, ] - repo: https://github.com/nbQA-dev/nbQA rev: 1.3.1 hooks: - id: nbqa-black - id: nbqa-flake8 args: [] - id: nbqa-isort - id: nbqa-pyupgrade args: [--py36-plus] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.0.1 hooks: - id: check-added-large-files args: [--maxkb, "4096"] - id: check-yaml - id: trailing-whitespace - id: end-of-file-fixer - repo: https://github.com/pycqa/flake8 rev: 4.0.1 hooks: - id: flake8 - repo: https://github.com/pycqa/isort rev: 5.9.3 hooks: - id: isort - repo: https://github.com/psf/black rev: 22.3.0 hooks: - id: black