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-04-10 02:02:22 +08:00
|
|
|
rev: v4.6.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-09-02 00:51:30 +08:00
|
|
|
rev: v1.11.2
|
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-10-02 01:14:12 +08:00
|
|
|
rev: v0.6.8
|
2023-08-07 05:29:28 +08:00
|
|
|
hooks:
|
|
|
|
- id: ruff
|