2021-12-22 22:40:06 +00:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pycqa/isort
|
2023-01-30 17:27:11 +00:00
|
|
|
rev: 5.12.0
|
2021-12-22 22:40:06 +00:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
name: isort (python)
|
2022-11-02 08:03:52 +00:00
|
|
|
exclude: ^contrib/
|
2021-12-22 22:40:06 +00:00
|
|
|
- repo: https://github.com/psf/black
|
2022-12-13 23:38:15 +00:00
|
|
|
rev: 22.12.0
|
2021-12-22 22:40:06 +00:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2022-11-02 08:03:52 +00:00
|
|
|
exclude: ^contrib/
|
2022-05-17 23:23:52 +01:00
|
|
|
- repo: https://github.com/pycqa/flake8
|
2022-12-13 23:38:15 +00:00
|
|
|
rev: 6.0.0
|
2022-05-17 23:23:52 +01:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
2022-11-02 08:03:52 +00:00
|
|
|
exclude: ^contrib/
|
2021-12-22 22:40:06 +00:00
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
2022-04-01 01:00:26 +01:00
|
|
|
rev: v0.931
|
2021-12-22 22:40:06 +00:00
|
|
|
hooks:
|
|
|
|
- id: mypy
|
2022-12-13 22:58:51 +00:00
|
|
|
args: [--show-error-codes, --strict, --no-warn-return-any, --no-warn-unused-ignores]
|
2021-12-22 22:40:06 +00:00
|
|
|
files: ^drgn/.*\.py|_drgn.pyi$
|