mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-23 17:53:07 +00:00
e5f10c68a8
Currently on Ubuntu 22.04 LTS, pre-commit hook installation is broken for isort, with an error that can be seen at [1]. The solution is to update isort to 5.12.0. [1]: https://github.com/PyCQA/isort/issues/2077 Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
24 lines
604 B
YAML
24 lines
604 B
YAML
repos:
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.12.0
|
|
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$
|