-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (45 loc) · 1.24 KB
/
pyproject.toml
File metadata and controls
54 lines (45 loc) · 1.24 KB
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
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "leo-health"
version = "0.1.0"
description = "Your Apple Health and Whoop data, as a SQL database. In 60 seconds."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.9"
dependencies = []
[project.optional-dependencies]
dev = [
"pytest>=7.4",
"pytest-cov>=4.0",
"ruff>=0.4",
"mypy>=1.9",
]
[project.scripts]
leo = "leo_health.status:main"
leo-watch = "leo_health.watcher:main"
leo-dash = "leo_health.dashboard:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["leo_health*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=leo_health --cov-report=term-missing --cov-fail-under=60"
[tool.coverage.run]
omit = [
"leo_health/dashboard.py", # web UI — not unit-testable
"leo_health/status.py", # CLI output — not unit-testable
"leo_health/watcher.py", # daemon / file I/O — integration tested
]
[tool.ruff]
target-version = "py39"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
ignore = [
"E501", # line too long — dashboard.py has long HTML strings
]
[tool.mypy]
python_version = "3.9"
ignore_missing_imports = true