-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-config.yaml
57 lines (51 loc) · 1.36 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
47
48
49
50
51
52
53
54
55
56
57
repos:
- repo: https://github.com/ambv/black
rev: 22.10.0
hooks:
- id: black
language_version: python3.10
exclude: ^openapi_client
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
exclude: ^openapi_client
- repo: https://github.com/trussworks/pre-commit-hooks
rev: v1.1.1
hooks:
- id: circleci-validate
- id: markdown-toc
- id: hadolint
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-ast
- id: check-json
- id: check-merge-conflict
- id: check-yaml
- id: debug-statements
- id: detect-private-key
exclude: devlocal-*
- id: fix-encoding-pragma
exclude: openapi_client
- id: trailing-whitespace
exclude: openapi_client
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.32.2
hooks:
- id: markdownlint
entry: markdownlint --ignore .github/*.md --ignore openapi_client/**/*
- repo: https://github.com/detailyang/pre-commit-shell
rev: 1.0.5
hooks:
- id: shell-lint
args: [-x]
- repo: local
hooks:
- id: pyright
name: pyright
entry: pipenv run pyright
language: system
pass_filenames: false
types: [python]
args: ['locustfiles', 'tasks', 'utils']