-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
138 lines (124 loc) · 2.77 KB
/
pyproject.toml
File metadata and controls
138 lines (124 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
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
[build-system]
requires = [
"setuptools",
"wheel",
"build",
"cython",
"numpy"
]
build-backend = "setuptools.build_meta"
[project]
name = "cubist"
version = "1.2.1"
requires-python = ">= 3.10"
authors = [
{name = "Ross Quinlan"},
{name = "Max Kuhn"},
{name = "Patrick Aselin"},
]
maintainers = [
{name = "Patrick Aselin"}
]
description="A Python package for fitting Ross Quinlan's Cubist regression model."
readme = {file = "README.md", content-type = "text/markdown"}
license = "GPL-3.0"
license-files = ["LICENSE"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Software Development :: Libraries",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Mathematics",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"numpy",
"pandas>=2.2.2",
"scikit-learn>=1.6.0",
]
[dependency-groups]
dev = [
"coverage>=7.11.2",
"cython>=3.2.0",
"mypy>=1.18.2",
"pandas-stubs>=2.3.2.250926",
"pre-commit>=4.4.0",
"pytest>=9.0.0",
"ruff>=0.14.4",
"setuptools>=80.9.0",
"types-setuptools>=80.9.0.20250822",
]
docs = [
"furo>=2025.9.25",
"matplotlib",
"numpydoc>=1.9.0",
"sphinx>=8.1.3",
"sphinx-autobuild>=2024.10.3",
"sphinx-copybutton>=0.5.2",
"sphinx-design>=0.6.1",
]
[project.optional-dependencies]
viz = [
"matplotlib",
]
[project.urls]
Homepage = "https://github.com/pjaselin/Cubist"
Repository = "https://github.com/pjaselin/Cubist.git"
Issues = "https://github.com/pjaselin/Cubist/issues"
[tool.setuptools]
packages = [
"cubist",
"cubist.src"
]
[tool.pytest.ini_options]
addopts = "-v -s"
filterwarnings = "ignore:np.asscalar:DeprecationWarning"
[tool.coverage.run]
branch = true
omit = [
"*/tests/*"
]
[tool.coverage.report]
skip_covered = true
[tool.isort]
known_first_party = ["_cubist"]
profile = "black"
[tool.doc8]
ignore = ["D001"]
[tool.mypy]
exclude = [
"docs/",
"tests/",
"setup.py",
"cubist/cubist_coefficient_display.py",
"cubist/cubist_coverage_display.py",
]
warn_unreachable = true
warn_no_return = true
[[tool.mypy.overrides]]
module = [
"sklearn.*",
]
ignore_errors = true
follow_imports = "skip"
follow_untyped_imports = true
[[tool.mypy.overrides]]
module = [
"_cubist.*",
"Cython.Build.*",
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = [
"cubist.cubist_coefficient_display",
"cubist.cubist_coverage_display",
]
follow_imports = "skip"
ignore_errors = true
follow_untyped_imports = true
disable_error_code = "index,attr-defined"