-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
57 lines (57 loc) · 1.51 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
fail_fast: true
repos:
- repo: local
hooks:
- id: black
name: Black
entry: poetry run black docling_haystack test
pass_filenames: false
language: system
files: '\.py$'
- id: isort
name: isort
entry: poetry run isort docling_haystack test
pass_filenames: false
language: system
files: '\.py$'
- id: autoflake
name: autoflake
entry: poetry run autoflake docling_haystack test
pass_filenames: false
language: system
files: '\.py$'
- id: mypy
name: MyPy
entry: poetry run mypy docling_haystack test
pass_filenames: false
language: system
files: '\.py$'
- id: flake8
name: Flake8
entry: poetry run flake8 docling_haystack
pass_filenames: false
language: system
files: '\.py$'
- id: pytest
name: Pytest
entry: poetry run pytest test/
pass_filenames: false
language: system
files: '\.py$'
- id: nbqa_black
name: nbQA Black
entry: poetry run nbqa black examples/
pass_filenames: false
language: system
files: '\.ipynb$'
- id: nbqa_isort
name: nbQA isort
entry: poetry run nbqa isort examples/
pass_filenames: false
language: system
files: '\.ipynb$'
- id: poetry
name: Poetry
entry: poetry check --lock
pass_filenames: false
language: system