2020-05-30 02:52:03 +08:00
|
|
|
repos:
|
2023-08-07 05:29:28 +08:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-11-01 23:01:34 +08:00
|
|
|
rev: v5.0.0
|
2023-08-07 05:29:28 +08:00
|
|
|
hooks:
|
|
|
|
- id: check-ast
|
|
|
|
- id: check-yaml
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-symlinks
|
2023-09-06 06:32:44 +08:00
|
|
|
- id: check-executables-have-shebangs
|
|
|
|
- id: check-shebang-scripts-are-executable
|
2023-08-07 05:29:28 +08:00
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
2024-11-01 23:01:34 +08:00
|
|
|
rev: v1.13.0
|
2023-08-07 05:29:28 +08:00
|
|
|
hooks:
|
|
|
|
- id: mypy
|
2024-07-14 04:34:25 +08:00
|
|
|
additional_dependencies: ['numpy', 'types-requests', 'types-atomicwrites',
|
2023-08-07 05:29:28 +08:00
|
|
|
'types-pycurl']
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
2024-11-01 23:01:34 +08:00
|
|
|
rev: v0.7.1
|
2023-08-07 05:29:28 +08:00
|
|
|
hooks:
|
|
|
|
- id: ruff
|