forked from elastic/rally
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
53 lines (49 loc) · 1.05 KB
/
.pre-commit-config.yaml
File metadata and controls
53 lines (49 loc) · 1.05 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
51
52
53
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v3.7.0
hooks:
- id: pyupgrade
args: [
"--py39-plus",
"--keep-percent-format"
]
- repo: local
hooks:
- id: black
name: black
entry: black
language: system
types: [python]
args: []
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
- repo: local
hooks:
- id: mypy
name: mypy
entry: mypy
language: system
types: [python]
args: [
"--config",
"pyproject.toml"
]
# Suppress a flaky internal mypy error appearing randomly when executing make lint.
require_serial: true
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
args:
[
"-rn",
"-j0",
"--rcfile=.pylintrc",
]
exclude: ^(docs/|changelog.py)
require_serial: true