drgn/.pre-commit-config.yaml
Omar Sandoval 08adab777e pre-commit: update isort, Black, and flake8
No changes required. mypy is still pinned for the sake of Python 3.6.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2022-12-13 15:38:15 -08:00

24 lines
604 B
YAML

repos:
- repo: https://github.com/pycqa/isort
rev: 5.11.2
hooks:
- id: isort
name: isort (python)
exclude: ^contrib/
- repo: https://github.com/psf/black
rev: 22.12.0
hooks:
- id: black
exclude: ^contrib/
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
exclude: ^contrib/
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.931
hooks:
- id: mypy
args: [--show-error-codes, --strict, --no-warn-return-any, --no-warn-unused-ignores]
files: ^drgn/.*\.py|_drgn.pyi$