-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
152 lines (132 loc) · 3.69 KB
/
pyproject.toml
File metadata and controls
152 lines (132 loc) · 3.69 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
[project]
name = "siapy"
version = "0.9.7"
description = "A python library for efficient processing of spectral images."
authors = [{ name = "janezlapajne", email = "janez.lapajne@kis.si" }]
requires-python = ">=3.10,<3.13"
readme = "README.md"
license = { text = "MIT" }
classifiers = [
"Intended Audience :: Information Technology",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"pandas>=2.2.2",
"opencv-python>=4.10.0.82",
"spectral>=0.23.1",
"scikit-learn>=1.5.0",
"pydantic>=2.7.3",
"rich>=13.7.1",
"scikit-image>=0.24.0",
"matplotlib>=3.9.0",
"optuna>=3.6.1",
"spyndex>=0.6.0",
"mlxtend>=0.23.1",
"autofeat>=2.1.1",
"setuptools>=72.1.0",
"dask[dataframe]>=2024.7.1",
"geopandas>=1.0.1",
"rasterio>=1.4.3",
"xarray>=2025.1.2",
"rioxarray>=0.18.2",
"shapely>=2.0.7",
]
[dependency-groups]
lint = [
"ruff>=0.4.8",
"mypy>=1.10.1",
"pandas-stubs>=2.2.2.240603",
"types-shapely>=2.0.0.20250202",
]
dev = ["pre-commit>=3.7.1", "tomli>=2.0.1", "codespell>=2.3.0"]
test = [
"pytest>=8.2.2",
"pytest-cov>=5.0.0",
"pytest-xdist>=3.6.1",
"pytest-mock>=3.14.0",
"pytest-benchmark>=5.1.0",
"pytest-pretty>=1.2.0",
]
docs = [
"autoflake>=2.3.1",
"mkdocs>=1.6.0",
"mkdocs-embed-external-markdown>=3.0.2",
"mkdocs-exclude>=1.0.2",
"mkdocs-material>=9.5.31",
"mkdocs-simple-hooks>=0.1.5",
"mkdocstrings-python>=1.10.8",
"mkdocs-redirects>=1.2.1",
"griffe-typingdoc>=0.2.6",
"mike>=2.1.3",
"pymdown-extensions>=10.12",
]
[project.urls]
Homepage = "https://github.com/siapy/siapy-lib"
Documentation = "https://github.com/siapy/siapy-lib/tree/main/docs"
Repository = "https://github.com/siapy/siapy-lib"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.pdm.build]
source-includes = ["tests/", "scripts/", "docs/"]
[tool.pytest.ini_options]
markers = ["manual: mark test as manual to run them only on demand."]
[tool.mypy]
mypy_path = "stubs"
plugins = ["pydantic.mypy"]
warn_redundant_casts = true
disallow_untyped_defs = true
allow_untyped_globals = false
disallow_any_generics = false
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
[[tool.mypy.overrides]]
module = "spectral"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "sklearn.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "geopandas.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "rasterio.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "mlxtend.*"
ignore_missing_imports = true
[tool.ruff]
line-length = 120
extend-exclude = []
exclude = []
lint.ignore = ["F811"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.lint.pyupgrade]
# Preserve types, even if a file imports `from __future__ import annotations`.
keep-runtime-typing = true
[tool.codespell]
ignore-words-list = "janezlapajne"
skip = 'dist/*, htmlcov, LICENCE, *.lock, *.toml, CHANGELOG.md, *.cff, *.svg'
count = true
check-hidden = false