.pre-commit-config.yaml
default_language_version:
python: python3.10
repos:
- repo: https://github.com/psf/black
rev: 23.12.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.1
hooks:
- id: mypy
additional_dependencies:
- click
- platformdirs
- tomli
- gitpython
- pytest
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"