Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (99 loc) · 2.1 KB
/
Copy pathpyproject.toml
File metadata and controls
109 lines (99 loc) · 2.1 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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[project]
name = "chap_core"
version = "0.0.18"
description = "Climate Health Analysis Platform (CHAP)"
readme = "README.md"
requires-python = ">=3.10"
authors = [{ name = "Sandvelab", email = "knutdrand@gmail.com" }]
license = { text = "MIT license" }
keywords = ["chap_core"]
dependencies = [
"annotated_types",
"bionumpy",
"cyclopts",
"diskcache",
"docker",
"earthengine-api",
"fastapi",
"sqlmodel",
"psycopg2-binary",
"geopandas",
"geopy",
"gitpython",
"gluonts",
"httpx",
"libpysal",
"matplotlib",
"meteostat",
"mlflow-skinny",
"numpy<2.0",
"pandas",
"plotly",
"pooch",
"pycountry",
"pydantic-geojson<2",
"pydantic>=2.0",
"python-dateutil",
"python-dotenv",
"python-multipart",
"pyyaml",
"requests",
"rq",
"scikit-learn",
"scipy",
"unidecode",
"uvicorn",
"virtualenv",
"xarray",
"orjson>=3.10.7",
"celery[pytest]"
]
[project.urls]
Homepage = "https://github.com/dhis2/chap-core"
[project.scripts]
chap = "chap_core.cli:main"
chap-cli = "chap_core.chap_cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
dev-dependencies = [
"build",
"bump2version>=1.0.1",
"coverage>=7.6.2",
"earthengine-api>=1.1.3",
"furo>=2024.8.6",
"myst-parser>=4.0.0",
"pre-commit>=4.0.1",
"pytest<8",
"pytest-cov>=5.0.0",
"pytest-mock>=3.14.0",
"ruff>=0.6.9",
"sphinx>=8.1.0",
"virtualenv",
"wheel>=0.44.0",
"typer~=0.9.0",
]
[tool.ruff]
target-version = "py312"
# select = ["E", "F", "I"]
lint.fixable = ["ALL"]
# exclude = [".git", ".mypy_cache", ".ruff_cache"]
include = ["chap_core/**/*.py"]
line-length = 120
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
docstring-code-format = true
docstring-code-line-length = "dynamic"
[tool.pytest.ini_options]
log_cli = true
log_level = "DEBUG"
norecursedirs = [
"tests/data_wrangling",
"tests/spatio_temporal_data",
"tests/",
".mypy_cache",
]
ignore = ['tests/test_meteostat_wrapper']