-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
79 lines (71 loc) · 2.06 KB
/
pyproject.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
71
72
73
74
75
76
77
78
79
[tool.poetry]
name = "pyaki"
description = "pyAKI allows calculation of Acute Kidney Injury from urine output and creatinine based on KDIGO criteria."
version = "0.0.0" # Placeholder
license = "MIT"
authors = ["ADIH MS"]
readme = "README.md"
homepage = "https://github.com/AI2MS/pyAKI"
repository = "https://github.com/AI2MS/pyAKI"
documentation = "https://github.com/AI2MS/pyAKI"
keywords = ["AKI", "Data", "ICU", "Healthcare", "Analysis"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
]
[tool.poetry.urls]
Changelog = "https://github.com/AI2MS/pyAKI/releases"
Bugtracker = "https://github.com/AI2MS/pyAKI/issues"
[tool.poetry.dependencies]
python = "^3.12"
pandas = "^2.2.3"
pandas-stubs = "^2.2.3.241126"
scipy = "^1.15.0"
typer = {extras = ["all"], version = ">=0.9,<0.16"}
[tool.poetry.group.dev.dependencies]
mypy = "^1.14.1"
pytest = "^8.0.2"
coverage = "^7.6.10"
pytest-cov = "^6.0.0"
ruff = ">=0.8.6,<0.10.0"
pytest-recording = "^0.13.1"
pytest-random-order = "^1.1.1"
jupyterlab = "^4.3.4"
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.6.1"
mkdocs-material = "^9.5.50"
pymdown-extensions = "^10.14.1"
mkdocstrings-python = "^1.13.0"
mkdocs-jupyter = "^0.25.1"
jupyter = "^1.1.1"
mkdocs-macros-plugin = "^1.3.7"
mkdocs-gen-files = "^0.5.0"
mkdocs-literate-nav = "^0.6.1"
mkdocs-section-index = "^0.3.9"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
pyaki-cli = "pyaki.bin.process_aki_stages:run"
[tool.mypy]
python_version = "3.13"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
strict_optional = true
exclude = ["^tests/.*", ]
[tool.pytest.ini_options]
python_files = ["test_*.py", "*_test.py"]
filterwarnings = ["ignore::DeprecationWarning"]
asyncio_mode = "auto"
addopts = [
"--cov",
"--cov-branch",
"--cov=src",
"--cov-report=xml",
"--import-mode=importlib",
"--random-order",
]