-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.pre-commit-config.yaml
81 lines (73 loc) · 2.11 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# If you see me, please update my `rev` field using the provided links
# Click the repo and update to latest tags.
# If things break on update, raise an issue
repos:
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
name: isort imports deepcave
files: deepcave
- id: isort
name: isort imports tests
files: tests
- repo: https://github.com/ambv/black
rev: 23.3.0
hooks:
- id: black
name: black formatter deepcave
files: deepcave
- id: black
name: black formatter tests
files: tests
- id: black
name: black formatter examples
files: examples
- repo: https://github.com/pycqa/pydocstyle
rev: 6.3.0
hooks:
- id: pydocstyle
files: deepcave
additional_dependencies: ["tomli"] # Needed to parse pyproject.toml
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.5.1
hooks:
- id: mypy
name: mypy deepcave
files: deepcave
args: [--install-types, --non-interactive]
additional_dependencies: [
'wheel>=0.41.2',
'setuptools==68.2.2',
'absl-py>=1.0.0',
'jsonlines>=3.0.0',
'pandas>=1.3.4',
'numpy==2.0.1',
'matplotlib==3.9.0',
'seaborn>=0.13.0',
'pyyaml>=6.0.1',
'kaleido>=0.2.1',
'gplearn>=0.4.2',
'sympy>=1.12',
'requests>=2.31.0',
'ConfigSpace==1.2.0',
'pyrfr>=0.9.0',
'dash==2.0.0',
'dash-extensions==0.0.71',
'dash-bootstrap-components==1.0.3',
'redis>=4.1.4',
'rq>=1.10.1',
'werkzeug==2.0.3',
'pyarrow==16.1.0',
'fastparquet==2024.5.0',
'pyPDPPartitioner>=0.1.9'
] # Needed for mypy, so that it knows the types to check
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
name: flake8 deepcave
files: deepcave
- id: flake8
name: flake8 tests
files: tests