-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
76 lines (62 loc) · 1.54 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "synthetic-knn"
dynamic = ["version"]
description = "Two-stage kNN imputation using synthetic data and treelists"
readme = "README.md"
license = ""
requires-python = ">=3.9"
authors = [{ name = "Matt Gregory", email = "matt.gregory@oregonstate.edu" }]
dependencies = ["numpy", "pandas"]
[project.urls]
Homepage = "https://github.com/lemma-osu/synthetic-knn"
Source = "https://github.com/lemma-osu/synthetic-knn"
[tool.hatch.version]
path = "src/synthetic_knn/__about__.py"
[tool.hatch.build.targets.wheel]
packages = ["src/synthetic_knn"]
[tool.hatch.build.targets.sdist]
include = ["/src"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.envs.default]
dependencies = [
"ipykernel",
"matplotlib",
"pre-commit",
"scikit-learn-knn-regression @ git+https://github.com/lemma-osu/scikit-learn-knn-regression",
]
[tool.hatch.envs.test]
dependencies = ["pytest", "pytest-cov", "pytest-regressions"]
[tool.hatch.envs.test.scripts]
all = "pytest {args}"
coverage = "pytest --cov=src/synthetic_knn {args}"
[tool.hatch.envs.test_matrix]
template = "test"
[[tool.hatch.envs.test_matrix.matrix]]
python = ["3.9", "3.10", "3.11", "3.12"]
[tool.pytest.ini_options]
pythonpath = "src/"
testpaths = ["tests/"]
[tool.ruff]
select = [
"E",
"I",
"F",
"B",
"FA",
"UP",
"ISC",
"PT",
"NPY",
"Q",
"RET",
"SIM",
"PERF",
]
fix = true
show-fixes = true
[tool.ruff.isort]
known-first-party = ["synthetic_knn"]