-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
126 lines (115 loc) · 3.01 KB
/
Copy pathpyproject.toml
File metadata and controls
126 lines (115 loc) · 3.01 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "skbel"
version = "2.2.0"
description = "Bayesian Evidential Learning framework built on top of scikit-learn"
readme = "README.rst"
license = { text = "BSD-3-Clause" }
requires-python = ">=3.10"
authors = [
{ name = "Robin Thibaut", email = "robin.thibaut@UGent.be" },
]
maintainers = [
{ name = "Robin Thibaut", email = "robin.thibaut@UGent.be" },
]
keywords = ["bayesian", "machine-learning", "scikit-learn", "uncertainty-quantification", "geosciences"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
]
dependencies = [
"joblib",
"loguru",
"matplotlib",
"numpy",
"pandas",
"scikit-image",
"scikit-learn",
"scipy",
"seaborn",
]
[project.optional-dependencies]
bnn = [
"tensorflow>=2.14",
"tensorflow-probability>=0.22",
"tf-keras", # required by tensorflow-probability >= 0.24 (Keras 2 API)
]
dev = [
"pytest>=8",
"pytest-cov",
"ruff",
]
docs = [
"sphinx",
"sphinx-rtd-theme",
"nbsphinx",
"sphinxcontrib-bibtex",
"ipython",
]
[project.urls]
Homepage = "https://github.com/robinthibaut/skbel"
Documentation = "https://skbel.readthedocs.io/"
Repository = "https://github.com/robinthibaut/skbel"
Issues = "https://github.com/robinthibaut/skbel/issues"
[tool.hatch.build.targets.wheel]
packages = ["skbel"]
[tool.hatch.build.targets.sdist]
include = [
"skbel/",
"README.rst",
"LICENSE",
"CITATION.cff",
]
[tool.pytest.ini_options]
testpaths = ["skbel/testing"]
addopts = "-v -ra"
[tool.coverage.run]
source = ["skbel"]
omit = [
"skbel/goggles/*",
"skbel/spatial/*",
"skbel/testing/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"if __name__ == .__main__.:",
]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"NPY", # numpy-specific
]
ignore = [
"E501", # line too long (handled by formatter)
"E741", # ambiguous variable name
"B008", # function call in default argument
"NPY002", # legacy np.random — locked for reproducibility of regression tests
]
[tool.ruff.lint.per-file-ignores]
"skbel/**/__init__.py" = ["F401", "F403", "F405"] # explicit re-exports via star
"examples/*" = ["E402", "F401"]
"docs/*" = ["E402", "F401"]
"scripts/*" = ["E402"]