-
Notifications
You must be signed in to change notification settings - Fork 5
/
.pre-commit-config.yaml
65 lines (65 loc) · 1.49 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
58
59
60
61
62
63
64
65
fail_fast: true
repos:
- repo: local
hooks:
- id: black
name: Black
entry: poetry run black docling_core test
pass_filenames: false
language: system
files: '\.py$'
- repo: local
hooks:
- id: isort
name: isort
entry: poetry run isort docling_core test
pass_filenames: false
language: system
files: '\.py$'
- repo: local
hooks:
- id: autoflake
name: autoflake
entry: poetry run autoflake docling_core test
pass_filenames: false
language: system
files: '\.py$'
- repo: local
hooks:
- id: mypy
name: MyPy
entry: poetry run mypy docling_core test
pass_filenames: false
language: system
files: '\.py$'
- repo: local
hooks:
- id: flake8
name: Flake8
entry: poetry run flake8 docling_core
pass_filenames: false
language: system
files: '\.py$'
- repo: local
hooks:
- id: pytest
name: Pytest
entry: poetry run pytest test/
pass_filenames: false
language: system
files: '\.py$'
- repo: local
hooks:
- id: docs
name: Docs
entry: poetry run generate_docs docs
pass_filenames: false
language: system
files: '\.py$'
- repo: local
hooks:
- id: poetry
name: Poetry
entry: poetry check --lock
pass_filenames: false
language: system