generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (48 loc) · 1.39 KB
/
pyproject.toml
File metadata and controls
55 lines (48 loc) · 1.39 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
[project]
name = "knnSampler"
version = "0.0.1"
description = "Missing-value imputation with multiple imputation and uncertainty quantification support"
authors = [
{ name = "Jérôme Benoit", email = "jerome.benoit@sap.com" },
{ name = "Antoine Maistre", email = "antoine.maistre@sap.com"},
{ name = "Parastoo Pashmchi", email = "parastoo.pashmchi@sap.com"}
]
readme = "README.md"
requires-python = ">=3.12,<4.0"
dependencies = [
"matplotlib>=3",
"numpy>=2",
"pandas>=2",
"seaborn>=0.13",
"scikit-learn>=1",
"openpyxl>=3",
"tabulate (>=0.10.0,<0.11.0)",
"tqdm>=4",
]
[tool.poetry.group.dev.dependencies]
pre-commit = "^4"
taskipy = "^1"
ruff = "^0.15.0"
pytest = "^9"
line-profiler = "^5"
ipykernel = "^7"
# Poetry <2 support
# [tool.poetry.dependencies]
# python = ">=3.12,<4.0"
# [tool.poetry]
# package-mode = false
[tool.taskipy.tasks]
main = "poetry run python main.py"
test = "poetry run pytest"
benchmark_all = "poetry run python benchmark_all.py"
benchmark_knnsampler = "poetry run python benchmark_knnsampler.py"
format = "ruff check --fix . && ruff format ."
lint = "ruff check --diff . && ruff format --check --diff ."
[tool.ruff.lint]
select = ["E", "W", "F", "ASYNC", "S", "B", "A", "Q", "RUF", "I"]
ignore = ["E501"] # ignore line too long
[tool.pytest.ini_options]
pythonpath = "."
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"