Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (70 loc) 路 1.67 KB
/
Copy pathpyproject.toml
File metadata and controls
87 lines (70 loc) 路 1.67 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[project]
name = "cli"
version = "0.1.0"
description = "Effortlessly segment spectral images using the siapy package."
authors = [{ name = "janezlapajne", email = "janez.lapajne@kis.si" }]
dependencies = [
"siapy>=0.4.0",
"loguru>=0.7.2",
"pydantic-settings>=2.4.0",
"typer>=0.12.3",
"xgboost>=2.1.1",
"tabulate>=0.9.0",
"shap>=0.46.0",
"umap-learn>=0.5.7",
]
requires-python = "==3.10.*"
readme = "README.md"
license = { text = "MIT" }
[project.scripts]
siapy-cli = "source.main:app"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.mypy]
mypy_path = "stubs"
packages = ["source"]
explicit_package_bases = true
[[tool.mypy.overrides]]
module = "spectral"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "sklearn.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "scipy.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "shap"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "umap"
ignore_missing_imports = true
[tool.ruff]
extend-exclude = []
exclude = []
lint.ignore = ["F811"]
src = ["source/"]
[tool.codespell]
ignore-words-list = "janezlapajne"
skip = 'dist/*, docs, LICENCE, *.lock, *.toml, *.cff'
count = true
check-hidden = false
[tool.flake8]
max-line-length = 120
[tool.pdm]
distribution = true
[tool.pdm.build]
source-includes = ["source/"]
[tool.pdm.scripts]
siapy-cli.cmd = "source/main.py"
siapy-cli.env_file.override = ".env"
[tool.pdm.dev-dependencies]
lint = ["ruff>=0.4.8", "mypy>=1.10.1", "pandas-stubs>=2.2.2.240603"]
[dependency-groups]
dev = [
"pre-commit>=3.7.1",
"tomli>=2.0.1",
"codespell>=2.3.0",
"types-tabulate>=0.9.0.20241207",
]