-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
65 lines (56 loc) · 1.22 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
[build-system]
requires = ["setuptools >= 61.1.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["pca_impute"]
[project]
name = "pca-impute"
description = "Missing value imputation with iterative PCA."
readme = "README.md"
license = {file = "LICENSE"}
authors = [
{name = "Kei Ishikawa"},
{email = "k.stoneriv@gmail.com"},
]
requires-python = ">=3.10"
dependencies = [
"numpy",
"scipy",
]
version = "1.0"
[project.optional-dependencies]
dev = [
"isort",
"black[jupyter]",
"ruff",
"mypy",
"pytest",
"pytest-cov",
"pytest-sugar",
"scikit-learn",
]
[tool.black]
line-length = 100
target-version = ["py310"]
src_paths = ["pca_impute", "test", "example"]
[tool.isort]
profile = "black"
line_length = 100
[tool.ruff]
line-length = 100
[tool.mypy]
files = ["pca_impute", "test"]
python_version = "3.10"
warn_unused_configs = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
strict_equality = true
strict_concatenate = true
no_implicit_reexport = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["test"]