-
Notifications
You must be signed in to change notification settings - Fork 1
/
hatch.toml
70 lines (60 loc) · 1.12 KB
/
hatch.toml
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
[version]
path = "sleapyfaces/__about__.py"
[build.targets.sdist]
exclude = [
"/.github",
"/docs",
"/tests/data",
]
[build.targets.wheel]
packages = ["sleapyfaces"]
[envs.docs]
dependencies = [
"mkdocs"
]
[envs.docs.scripts]
build = "mkdocs build --clean --strict"
serve = "mkdocs serve --dev-addr localhost:8000"
[envs.default]
dependencies = [
"click",
"pytest",
"pytest-cov",
"pandas",
"numpy",
"scipy",
"scikit-learn",
"tables",
"ffmpeg-python",
"h5py",
"python-rapidjson",
"matplotlib",
"statsmodels",
"seaborn",
"geomstats",
"plotly",
"pathvalidate",
"more-itertools",
"python-configuration"
]
[envs.default.scripts]
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=sleapyfaces --cov=tests {args}"
no-cov = "cov --no-cov {args}"
[envs.test]
dependencies = [
"pytest"
]
[[envs.test.matrix]]
python = ["37", "38", "39", "310", "311"]
[coverage.run]
branch = true
parallel = true
omit = [
"sleapyfaces/__about__.py",
]
[coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]