repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: - id: check-added-large-files - id: check-ast - id: check-case-conflict - id: check-json - id: check-merge-conflict - id: check-toml - id: check-yaml - id: debug-statements - id: end-of-file-fixer - id: forbid-submodules - id: trailing-whitespace - repo: https://github.com/psf/black rev: 22.12.0 hooks: - id: black - repo: https://github.com/PyCQA/flake8 rev: 6.0.0 hooks: - id: flake8 args: - "--max-line-length=88" exclude: ^tests/ - repo: https://github.com/pycqa/isort rev: 5.11.4 hooks: - id: isort - repo: https://github.com/pre-commit/mirrors-mypy rev: v0.991 hooks: - id: mypy additional_dependencies: - types-toml==0.10.8.1 args: - "--ignore-missing-imports" exclude: ^tests/ - repo: https://github.com/charliermarsh/ruff-pre-commit rev: v0.0.194 hooks: - id: ruff args: - "--line-length=88" exclude: ^tests/