-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (97 loc) · 2.77 KB
/
pyproject.toml
File metadata and controls
103 lines (97 loc) · 2.77 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "khalib"
version = "0.4"
description = "Classifier Calibration with Khiops"
authors = [{ name = "Felipe Olmos", email = "luisfelipe.olmosmarchant@orange.com" }]
requires-python = ">=3.11"
dependencies = [
"khiops>=11.0.0.0",
"numpy>=2.0.0",
"scikit-learn>=1.5.0",
"matplotlib>=3.9.0",
]
readme = "README.md"
license = "BSD-3-Clause"
license-files = ["LICENSE.md"]
classifiers=[
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Development Status :: 5 - Production/Stable",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
[project.urls]
homepage = "https://khiopslab.github.io/khalib"
source = "https://github.com/KhiopsLab/khalib"
tracker = "https://github.com/KhiopsLab/khalib/issues"
changelog = "https://github.com/KhiopsLab/khalib/blob/main/CHANGELOG.md"
[tool.setuptools.packages.find]
where = ["src"]
include = ["khalib"]
[tool.pytest.ini_options]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
[tool.ruff.lint]
exclude = ["docs/quickstart.py"]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"UP", # pyupgrade
"N", # pep8-naming
"NPY", # numpy
"PD", # pandas-vet
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
"TID", # tidy imports
"PT", # flake8-pytest-style
"PL", # pylint rules
]
ignore = [
"PLR0904", # too-many-public-methods
"PLR0911", # too-many-return-statements
"PLR0912", # too-many-branches
"PLR0913", # too-many-arguments
"PLR0914", # too-many-locals
"PLR0915", # too-many-statements
"PLR0916", # too-many-boolean-expressions
"PLR1702", # too-many-nested-blocks
"PLR2004", # magic-value-comparison
"PLW0120", # useless-else-on-loop
"PLW0406", # import-self
"PLW0603", # global-statement
"PD901", # Avoid 'df' name for dataframes
]
# To fix by default isort fixes
extend-safe-fixes = ["I"]
[dependency-groups]
dev = [
"furo>=2025.7.19",
"ipython>=8.27.0",
"jupyterlab>=4.4.9",
"jupyterlab-myst>=2.4.2",
"jupytext>=1.17.3",
"matplotlib>=3.10.6",
"myst-nb>=1.3.0",
"myst-parser>=4.0.1",
"numpydoc>=1.9.0",
"pytest>=8.4.1",
"sphinx>=8.2.3",
"sphinx-copybutton>=0.5.2",
"sphinx-paramlinks>=0.6.0",
]