-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (90 loc) · 2.39 KB
/
pyproject.toml
File metadata and controls
106 lines (90 loc) · 2.39 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["anyplotlib"]
[project]
name = "anyplotlib"
version = "0.1.0"
description = "A plotting library using python, javascript and anywidget for performant in browser plotting."
requires-python = ">=3.10"
dependencies = [
"anywidget>=0.9.0",
"colorcet>=3.0",
"numpy>=2.0.0",
"traitlets>=5.0.0",
]
[project.optional-dependencies]
docs = [
"sphinx>=8.0",
"pydata-sphinx-theme>=0.16",
"sphinx-design>=0.6",
"sphinx-gallery>=0.18",
"pillow>=10.0",
"matplotlib>=3.7",
"playwright>=1.58.0",
"plotly>=5.0",
"bokeh>=3.0",
"scipy>=1.15.3",
]
jupyter = [
"jupyterlab>=4.5.5",
]
[dependency-groups]
dev = [
"docutils>=0.19",
"playwright>=1.58.0",
"pytest>=9.0.2",
"pytest-cov>=5.0.0",
"scipy>=1.15.3",
"sphinx>=8.0",
"towncrier>=24.0.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=anyplotlib --cov-report=xml --cov-report=term-missing"
[tool.coverage.run]
source = ["anyplotlib"]
omit = ["tests/*", "Examples/*", "docs/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]
# ---------------------------------------------------------------------------
# Changelog management (towncrier)
# ---------------------------------------------------------------------------
[tool.towncrier]
package = "anyplotlib"
package_dir = "anyplotlib"
directory = "upcoming_changes"
filename = "CHANGELOG.rst"
start_string = ".. towncrier release notes start\n"
issue_format = "`#{issue} <https://github.com/CSSFrancis/anyplotlib/pull/{issue}>`_"
title_format = "{version} ({project_date})"
underlines = ["=", "-", "~"]
[[tool.towncrier.type]]
directory = "new_feature"
name = "New Features"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug Fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "deprecation"
name = "Deprecations"
showcontent = true
[[tool.towncrier.type]]
directory = "removal"
name = "Removals"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "maintenance"
name = "Maintenance"
showcontent = true