forked from AudiusProject/audius-protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
38 lines (34 loc) · 911 Bytes
/
.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
repos:
- repo: https://github.com/awslabs/git-secrets
rev: b9e96b3212fa06aea65964ff0d5cda84ce935f38
hooks:
- id: git-secrets
stages: [commit]
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
exclude: ^discovery-provider/alembic/
stages: [push]
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
exclude: ^discovery-provider/alembic/
stages: [push]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.942
hooks:
- id: mypy
exclude: ^discovery-provider/alembic/
additional_dependencies:
- 'sqlalchemy-stubs'
- 'types-python-dateutil'
- 'types-redis'
- 'types-requests'
- 'types-pytz'
stages: [push]
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort