-
-
Notifications
You must be signed in to change notification settings - Fork 366
/
pyproject.toml
119 lines (105 loc) · 3.43 KB
/
pyproject.toml
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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "datashader"
dynamic = ["version"]
description = "Data visualization toolchain based on aggregating into a grid"
readme = "README.md"
license = { text = "New BSD" }
requires-python = ">=3.9"
authors = [{ name = "HoloViz developers", email = "developers@holoviz.org" }]
maintainers = [{ name = "HoloViz developers", email = "developers@holoviz.org" }]
classifiers = [
"License :: OSI Approved :: BSD License",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Natural Language :: English",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Software Development :: Libraries",
]
dependencies = [
'colorcet',
'multipledispatch',
'numba',
'numpy',
'pandas',
'param',
'pillow',
'pyct',
'requests',
'scipy',
'toolz',
'packaging',
'xarray',
]
[project.urls]
Homepage = "https://datashader.org"
Source = "https://github.com/holoviz/datashader"
HoloViz = "https://holoviz.org/"
[project.optional-dependencies]
tests = ["pytest"]
[project.scripts]
datashader = "datashader.__main:main"
[tool.hatch.version]
source = "vcs"
raw-options = { version_scheme = "no-guess-dev" }
[tool.hatch.build.targets.wheel]
include = ["datashader"]
[tool.hatch.build.targets.sdist]
include = ["datashader", "scripts"]
[tool.hatch.build.targets.sdist.force-include]
examples = "datashader/examples"
[tool.hatch.build.hooks.vcs]
version-file = "datashader/_version.py"
[tool.codespell]
ignore-words-list = "trough,thi,ser"
[tool.ruff]
line-length = 100
fix = true
[tool.ruff.lint]
select = [
"E",
"F",
"NPY",
"UP",
"W",
]
ignore = [
"UP027", # unpacked-list-comprehension (deprecated)
# The following should be enabled in the future
"UP030", # format-literals
"UP031", # printf-string-formatting
"UP032", # f-string
]
[tool.ruff.lint.per-file-ignores]
"test_mpl_ext.py" = ["E402"] # Module level import not at top of file
[tool.pytest.ini_options]
addopts = [
"--pyargs",
"--doctest-modules",
"--doctest-ignore-import-errors",
"--strict-config",
"--strict-markers",
"--color=yes",
]
minversion = "7"
xfail_strict = true
log_cli_level = "INFO"
filterwarnings = [
"error",
"ignore:Passing a (SingleBlockManager|BlockManager) to (Series|GeoSeries|DataFrame|GeoDataFrame) is deprecated:DeprecationWarning", # https://github.com/holoviz/spatialpandas/issues/137
"ignore:Accessing the underlying geometries through the `.data`:DeprecationWarning:dask_geopandas.core", # https://github.com/geopandas/dask-geopandas/issues/264
# 2024-11
"ignore:numpy.ndarray size changed, may indicate binary incompatibility:RuntimeWarning", # https://github.com/pydata/xarray/issues/7259
"ignore:\\s*Dask dataframe query planning is disabled because dask-expr is not installed:FutureWarning", # https://github.com/holoviz/spatialpandas/issues/146
"ignore:The legacy Dask DataFrame implementation is deprecated:FutureWarning", # https://github.com/holoviz/spatialpandas/issues/146
]