-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (53 loc) · 1.43 KB
/
pyproject.toml
File metadata and controls
65 lines (53 loc) · 1.43 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
[project]
name = "idmodels"
description = "A Python module for modeling infectious disease."
license = {text = "MIT License"}
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
]
dynamic = ["version"]
dependencies = [
"iddata @ git+https://github.com/reichlab/iddata",
"lightgbm",
"numpy",
"pandas~=2.0", # pandas 3.0 breaks compatibility; remove cap once validated
"sarix @ git+https://github.com/reichlab/sarix@35eea2379a9790e0457b1aed41d13509e5d5056f",
"scikit-learn",
"tqdm",
"timeseriesutils @ git+https://github.com/reichlab/timeseriesutils"
]
[project.optional-dependencies]
dev = [
"coverage",
"pre-commit",
"pytest",
"ruff"
]
[project.urls]
Repository = "https://github.com/reichlab/idmodels.git"
[build-system]
# Minimum requirements for the build system to execute.
requires = ["setuptools", "wheel"]
[tool.pytest.ini_options]
tmp_path_retention_policy = "none"
testpaths = [
"tests",
]
[tool.setuptools]
packages = {find = {where = ["src"]}}
[tool.setuptools.package-data]
idmodels = ["data/*.csv", "data/*.md"]
[tool.ruff]
line-length = 120
lint.extend-select = ["I", "Q"]
[tool.ruff.lint.flake8-quotes]
inline-quotes = "double"
[tool.ruff.format]
quote-style = "double"
[tool.setuptools.dynamic]
version = {attr = "idmodels.__version__"}
[tool.codespell]
ignore-words-list = "hsa"