forked from opensearch-project/opensearch-build
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
33 lines (33 loc) · 811 Bytes
/
.pre-commit-config.yaml
File metadata and controls
33 lines (33 loc) · 811 Bytes
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
---
default_stages: [commit]
default_language_version:
python: python3.7
repos:
- repo: local
hooks:
- id: isort
stages: [commit]
name: isort
entry: bash -c 'pipenv run isort --check .'
language: system
types: [python]
- id: flake8
stages: [commit]
name: flake8
entry: bash -c 'pipenv run flake8 .'
language: system
- id: mypy
stages: [commit]
name: mypy
entry: bash -c 'pipenv run mypy .'
language: system
- id: pytest
stages: [commit]
name: pytest
entry: bash -c 'pipenv run pytest'
language: system
- id: yamllint
stages: [commit]
name: yamllint
entry: bash -c 'pipenv run yamllint .'
language: system