forked from Aiven-Open/karapace
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
50 lines (46 loc) · 1.1 KB
/
.pre-commit-config.yaml
File metadata and controls
50 lines (46 loc) · 1.1 KB
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
49
50
repos:
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
files: \.py$
args:
- --config=.flake8
- repo: https://github.com/pre-commit/mirrors-yapf
rev: v0.27.0
hooks:
- id: yapf
files: \.py$
exclude: ^vendor/
args:
- --parallel
- --recursive
- --in-place
- repo: https://github.com/timothycrosley/isort
rev: 4.3.21
hooks:
- id: isort
files: \.py$
exclude: ^vendor/
args:
- --recursive
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
- id: trailing-whitespace
exclude: ^vendor/|^tests/.*/fixtures/.*
- id: end-of-file-fixer
exclude: ^vendor/|^tests/.*/fixtures/.*
- id: debug-statements
# https://pre-commit.com/#repository-local-hooks
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
files: \.py$
exclude: ^vendor/
args:
- --rcfile=.pylintrc