2021-12-22 22:40:06 +00:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pycqa/isort
|
|
|
|
rev: 5.10.1
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
name: isort (python)
|
|
|
|
- repo: https://github.com/psf/black
|
2022-04-01 00:28:40 +01:00
|
|
|
rev: 22.3.0
|
2021-12-22 22:40:06 +00:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2022-05-17 23:23:52 +01:00
|
|
|
- repo: https://github.com/pycqa/flake8
|
|
|
|
rev: 4.0.1
|
|
|
|
hooks:
|
|
|
|
- id: flake8
|
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
|
|
|
|
args: [--strict, --no-warn-return-any, --no-warn-unused-ignores]
|
|
|
|
files: ^drgn/.*\.py|_drgn.pyi$
|