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
|
2023-11-15 07:03:06 +08:00
|
|
|
rev: v1.7.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
|
2023-11-22 05:08:12 +08:00
|
|
|
rev: v0.1.6
|
2023-08-07 05:29:28 +08:00
|
|
|
hooks:
|
|
|
|
- id: ruff
|