forked from darosior/python-bip32
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-config.yaml
43 lines (43 loc) · 1.35 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
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/timothycrosley/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://gitlab.com/pycqa/flake8
rev: dcd740bc0ebaf2b3d43e59a0060d157c97de13f3 # frozen: 3.9.2
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear
- flake8-builtins
- flake8-comprehensions
- 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
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 5cf22ccb774a8be8f47dfe4c1e8c4f177c608cbf # frozen: v0.910-1
hooks:
- id: mypy
args: ["--scripts-are-modules"]
additional_dependencies:
- pytest
- base58