forked from hukkin/cosmospy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
48 lines (48 loc) · 1.43 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 38b88246ccc552bffaaf54259d064beeee434539 # frozen: v4.0.1
hooks:
- id: check-yaml
- id: check-toml
- repo: https://github.com/pre-commit/pygrep-hooks
rev: 6f51a66bba59954917140ec2eeeaa4d5e630e6ce # frozen: v1.9.0
hooks:
- id: python-use-type-annotations
- id: python-check-blanket-noqa
- repo: https://github.com/PyCQA/isort
rev: c5e8fa75dda5f764d20f66a215d71c21cfa198e1 # frozen: 5.10.1
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 19f6aa8208154de4560ee1e4a3e638e120dcdba5 # frozen: 21.11b1
hooks:
- id: black
- repo: https://github.com/myint/docformatter
rev: 67919ee01837761f2d954d7fbb08c12cdd38ec5a # frozen: v1.4
hooks:
- id: docformatter
- repo: https://github.com/executablebooks/mdformat
rev: 427df9181bd4d8e65c1108b912ad47a81628f03b # frozen: 0.7.10
hooks:
- id: mdformat
additional_dependencies:
- mdformat-black
- mdformat-toc
- repo: https://github.com/PyCQA/flake8
rev: cbeb4c9c4137cff1568659fcc48e8b85cddd0c8d # frozen: 4.0.1
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear
- flake8-builtins
- flake8-comprehensions
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 5cf22ccb774a8be8f47dfe4c1e8c4f177c608cbf # frozen: v0.910-1
hooks:
- id: mypy
args: ["--scripts-are-modules"]
additional_dependencies:
- bech32
- hdwallets
- mnemonic
- ward