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
|
2023-10-11 04:24:45 +08:00
|
|
|
rev: v4.5.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-01-05 07:17:24 +08:00
|
|
|
rev: v1.8.0
|
2023-08-07 05:29:28 +08:00
|
|
|
hooks:
|
|
|
|
- id: mypy
|
|
|
|
additional_dependencies: ['git+https://github.com/numpy/numpy-stubs', 'types-requests', 'types-atomicwrites',
|
|
|
|
'types-pycurl']
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
2024-02-21 07:02:11 +08:00
|
|
|
rev: v0.2.2
|
2023-08-07 05:29:28 +08:00
|
|
|
hooks:
|
|
|
|
- id: ruff
|