.pre-commit-config.yaml
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.1
hooks:
- id: ruff-format
- id: ruff
args: [ --fix, --exit-non-zero-on-fix ]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.0
hooks:
- id: mypy
additional_dependencies:
- click
- tqdm
- platformdirs
- importlib_metadata
- tomli
- jinja2
- black
- pytest
- gitpython
args:
- "--disallow-untyped-calls"
- "--disallow-untyped-defs"
- "--disallow-incomplete-defs"
- "--strict-optional"
- "--warn-return-any"
- "--warn-no-return"
- "--warn-redundant-casts"
- "--no-warn-unused-ignores"
- "--allow-untyped-decorators"