forked from python-poetry/poetry-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
46 lines (43 loc) · 1.08 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
repos:
- repo: https://github.com/psf/black
rev: 19.10b0
hooks:
- id: black
exclude: ^poetry/core/_vendor
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3
hooks:
- id: flake8
exclude: |
(?x)(
^poetry/core/utils/_typing.py$
| ^poetry/core/utils/_compat.py$
| ^poetry/core/_vendor
)
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.4.2
hooks:
- id: isort
additional_dependencies: [toml]
exclude: |
(?x)(
^.*/?setup\.py$
| ^poetry/core/_vendor
)
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
exclude: |
(?x)(
^tests/.*/fixtures/.*
| ^poetry/core/_vendor
)
- id: end-of-file-fixer
exclude: |
(?x)(
^tests/.*/fixtures/.*
| ^poetry/core/_vendor
)
- id: debug-statements
exclude: ^poetry/core/_vendor