-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (110 loc) · 2.97 KB
/
pyproject.toml
File metadata and controls
121 lines (110 loc) · 2.97 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ggplotly"
version = "0.4.1"
description = "A grammar of graphics for Python built on Plotly"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "Ben Cho"}
]
keywords = [
"ggplot",
"ggplot2",
"plotly",
"visualization",
"data visualization",
"grammar of graphics",
"plotting",
"charts",
"graphs"
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"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",
"Topic :: Scientific/Engineering :: Visualization",
]
requires-python = ">=3.9"
dependencies = [
"pandas>=1.3.0",
"plotly>=5.0.0",
"numpy>=1.20.0",
"scikit-learn>=1.0.0",
"scipy>=1.7.0",
"statsmodels>=0.13.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-ruff>=0.4.0",
"nbmake>=1.5.0",
"black>=23.0.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
]
docs = [
"mkdocs>=1.5.0",
"mkdocs-material>=9.0.0",
"mkdocstrings>=0.24.0",
"mkdocstrings-python>=1.0.0",
"mkdocs-jupyter>=0.24.0",
"nbconvert>=7.0.0",
"ipykernel>=6.0.0",
]
geo = [
"geopandas>=0.12.0",
"shapely>=2.0.0",
]
network = [
"igraph>=0.10.0",
"searoute>=1.0.0",
]
all = [
"ggplotly[dev,docs,geo,network]",
]
[project.urls]
Homepage = "https://github.com/bbcho/ggplotly"
Documentation = "https://bbcho.github.io/ggplotly"
Repository = "https://github.com/bbcho/ggplotly"
Issues = "https://github.com/bbcho/ggplotly/issues"
Roadmap = "https://github.com/bbcho/ggplotly/blob/main/ROADMAP.md"
[tool.setuptools.packages.find]
where = ["."]
include = ["ggplotly*"]
[tool.setuptools.package-data]
ggplotly = ["data/*.csv"]
[tool.pytest.ini_options]
testpaths = ["pytest", "examples", "docs"]
python_files = ["test_*.py"]
addopts = "-v --tb=short --nbmake"
[tool.black]
line-length = 88
target-version = ["py39", "py310", "py311", "py312", "py313", "py314"]
[tool.ruff]
line-length = 88
target-version = "py39"
extend-exclude = ["docs/gallery/*.ipynb"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP"]
ignore = ["E501", "E741"] # E741: ambiguous variable name - used in edge bundling algorithm
[tool.ruff.lint.per-file-ignores]
"ggplotly/geoms/geom_map.py" = ["F401"] # geopandas import is used to check availability
"pytest/*.py" = ["F401", "F403", "F405", "F841", "E712"] # Allow star imports and unused vars in tests
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true