Skip to content

Commit 24364d2

Browse files
committed
Merge branch 'main' into 1.2.X
2 parents ea6d7c4 + a1b6a1c commit 24364d2

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

examples/plot_quantile_toy_example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def make_toy_dataset(n_samples, seed=0):
4747
y_pred_upp = y_pred[:, 2]
4848

4949
plt.plot(X_test, y_test, ".", c="#f2a619", label="Test Observations", ms=5)
50-
plt.plot(xx, (xx * np.sin(xx)), c="black", label="$f(x) = x\,\sin(x)$", lw=2) # noqa: W605
50+
plt.plot(xx, (xx * np.sin(xx)), c="black", label="$f(x) = x\\,\\sin(x)$", lw=2)
5151
plt.plot(xx, y_pred_med, c="#006aff", label="Predicted Median", lw=3, ms=5)
5252
plt.fill_between(
5353
xx.ravel(),

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ requires = [
1111

1212
[tool.black]
1313
line-length = 100
14-
target_version = ['py38', 'py39', 'py310', 'py311']
14+
target_version = ['py38', 'py39', 'py310', 'py311', 'py312']
1515
preview = true
1616
exclude = '''
1717
/(

setup.py

+11
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ def write_version_py():
3333
LONG_DESCRIPTION = f.read()
3434
MAINTAINER = "Zillow Group AI Team"
3535
LICENSE = "Apache License 2.0"
36+
URL = "https://zillow.github.io/quantile-forest"
37+
DOWNLOAD_URL = "https://pypi.org/project/quantile-forest/#files"
38+
PROJECT_URLS = {
39+
"Documentation": "https://zillow.github.io/quantile-forest",
40+
"Source": "https://github.com/zillow/quantile-forest",
41+
"Tracker": "https://github.com/zillow/quantile-forest/issues",
42+
}
3643
VERSION = __version__
3744
CLASSIFIERS = [
3845
"Intended Audience :: Science/Research",
@@ -49,6 +56,7 @@ def write_version_py():
4956
"Programming Language :: Python :: 3.9",
5057
"Programming Language :: Python :: 3.10",
5158
"Programming Language :: Python :: 3.11",
59+
"Programming Language :: Python :: 3.12",
5260
"Programming Language :: Python :: Implementation :: CPython",
5361
]
5462

@@ -83,6 +91,9 @@ def setup_package():
8391
maintainer=MAINTAINER,
8492
description=DESCRIPTION,
8593
license=LICENSE,
94+
url=URL,
95+
download_url=DOWNLOAD_URL,
96+
project_urls=PROJECT_URLS,
8697
version=VERSION,
8798
long_description=LONG_DESCRIPTION,
8899
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)