提交 c27183cf authored 作者: Michael Osthege's avatar Michael Osthege 提交者: Brandon T. Willard

Add a mypy pre-commit step

上级 4474eb9b
......@@ -47,3 +47,10 @@ repos:
aesara/tensor/linalg\.py
)$
args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable']
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.931
hooks:
- id: mypy
additional_dependencies:
- types-filelock
- types-setuptools
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论