# See https://pre-commit.com for more information default_language_version: python: python3 # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.2.0 hooks: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/pycqa/isort rev: '5.13.2' hooks: - id: isort args: ["--profile", "black", "--filter-files"] # Using this mirror lets us use mypyc-compiled black, which is about 2x faster - repo: https://github.com/psf/black-pre-commit-mirror rev: '24.4.2' hooks: - id: black-jupyter