-
Notifications
You must be signed in to change notification settings - Fork 33
/
.pre-commit-config.yaml
44 lines (43 loc) · 1.3 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
repos:
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
language_version: python3
- repo: local
hooks:
- id: run-tests-lib
name: Run Tests in jb-lib
entry: bash -c 'cd jb-lib && poetry run pytest'
language: system
types: [python]
- id: run-tests-channel
name: Run Tests in channel
entry: bash -c 'cd channel && poetry run pytest'
language: system
types: [python]
- id: run-tests-language
name: Run Tests in language
entry: bash -c 'cd language && poetry run pytest'
language: system
types: [python]
- id: run-tests-api
name: Run Tests in api
entry: bash -c 'cd api && poetry run pytest'
language: system
types: [python]
- id: run-tests-flow
name: Run Tests in flow
entry: bash -c 'cd flow && poetry run pytest'
language: system
types: [python]
- id: run-tests-indexer
name: Run Tests in indexer
entry: bash -c 'cd indexer && poetry run pytest'
language: system
types: [python]
- id: run-tests-retriever
name: Run Tests in retriever
entry: bash -c 'cd retriever && poetry run pytest'
language: system
types: [python]