-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
102 lines (89 loc) · 2.06 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
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
[project]
name = "meteors"
version = "0.2.0"
authors = [
{ name="Tymoteusz Kwiecinski", email="[email protected]" },
]
description = "Explanations of models for Hyperspectral data"
readme = "README.md"
requires-python = ">=3.9"
license = { text = "BSD-3-Clause" }
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"captum>=0.7.0",
"spyndex>=0.6.0",
"numpy<2.0.0",
# From Captum
"torch>=1.10",
# From Captum
"eval-type-backport",
"loguru",
"matplotlib",
"seaborn",
"pandas",
"pydantic",
"scikit-image",
"scikit-learn",
"importlib-resources; python_version < '3.10'",
"setuptools>=60.0.0",
"shap>=0.46.0",
]
[metadata]
license = "BDS-3-Clause"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"pre-commit>=3.7.1",
'exceptiongroup>=1.0.0rc8; python_version < "3.11"',
"pytest>=8.2.2",
"pytest-cov>=5.0.0",
"tomli>=2.0.1",
"codespell>=2.3.0",
"jupyter>=1.0.0",
"mike>=2.0.0",
"mkdocs>=1.0.0",
"mkdocs-material>=9.0.0",
"mkdocstrings[python]>=0.25.0",
"gitpython>=3.1.43",
"ipykernel>=6.29.5",
]
[tool.mypy]
ignore_missing_imports = true
files = ["src"]
plugins = [
"pydantic.mypy",
]
[tool.codespell]
skip = [
"examples/*",
".github/CODE_OF_CONDUCT.md",
]
ignore-words-list = "hsi,HSI"
[tool.ruff]
line-length = 120
extend-include = ["*.ipynb"]
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = 120
[tool.coverage.run]
omit = [
"src/meteors/lime_base.py",
]
[tool.pytest.ini_options]
addopts = "--cov=src/meteors --cov-report=xml"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/meteors"]
[project.urls]
Homepage = "https://github.com/xai4space/meteors/"