-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
123 lines (109 loc) · 3.34 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
120
121
122
123
[build-system]
requires = ["hatchling>=1.8.0", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "dask-histogram"
description = "Histogramming with Dask."
readme = "README.md"
license = {text = "BSD-3-Clause"}
requires-python = ">=3.8"
authors = [
{ name = "Doug Davis", email = "[email protected]" },
]
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
"boost-histogram>=1.3.2",
"dask>=2021.03.0",
]
dynamic = ["version"]
[project.optional-dependencies]
complete = [
"dask-sphinx-theme >=3.0.2",
"dask[array,dataframe]",
"dask-awkward >=2023.10.0",
"hist",
"pytest",
"sphinx >=4.0.0",
"sphinxcontrib-applehelp>=1.0.0,<1.0.7",
"sphinxcontrib-devhelp>=1.0.0,<1.0.6",
"sphinxcontrib-htmlhelp>=2.0.0,<2.0.5",
"sphinxcontrib-serializinghtml>=1.1.0,<1.1.10",
"sphinxcontrib-qthelp>=1.0.0,<1.0.7",
]
docs = [
"dask-sphinx-theme >=3.0.2",
"dask[array,dataframe]",
"dask-awkward >=2023.10.0",
# FIXME: `sphinxcontrib-*` pins are a workaround until we have sphinx>=5.
# See https://github.com/dask/dask-sphinx-theme/issues/68.
"sphinx >=4.0.0",
"sphinxcontrib-applehelp>=1.0.0,<1.0.7",
"sphinxcontrib-devhelp>=1.0.0,<1.0.6",
"sphinxcontrib-htmlhelp>=2.0.0,<2.0.5",
"sphinxcontrib-serializinghtml>=1.1.0,<1.1.10",
"sphinxcontrib-qthelp>=1.0.0,<1.0.7",
]
test = [
"dask[array,dataframe]",
"dask-awkward >=2023.10.0",
"hist",
"pytest",
]
[tool.hatch.build.targets.sdist.force-include]
"src/dask_histogram_sizeof" = "src/dask_histogram_sizeof"
[tool.hatch.build.targets.wheel]
packages = ["src/dask_histogram", "src/dask_histogram_sizeof"]
[project.urls]
Homepage = "https://github.com/dask-contrib/dask-histogram"
Documentation = "https://dask-histogram.readthedocs.io/"
"Bug Tracker" = "https://github.com/dask-contrib/dask-histogram/issues"
[project.entry-points."dask.sizeof"]
dask_histogram = "dask_histogram_sizeof:register"
[tool.hatch.version]
source = "vcs"
path = "src/dask_histogram/__init__.py"
[tool.hatch.build.hooks.vcs]
version-file = "src/dask_histogram/version.py"
[tool.hatch.build.targets.sdist]
include = ["/src"]
[tool.pytest.ini_options]
addopts = "-v"
testpaths = ["tests"]
[tool.isort]
profile = "black"
line_length = 88
src_paths = ["src", "tests"]
[tool.mypy]
python_version = "3.9"
files = ["src", "tests"]
warn_unused_configs = true
show_error_codes = true
allow_incomplete_defs = false
allow_untyped_decorators = false
ignore_missing_imports = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_unreachable = true
[[tool.mypy.overrides]]
module = ["tlz.*"]
ignore_missing_imports = true
[tool.pydocstyle]
ignore = "D105"
[tool.ruff]
ignore = ["E501"]
per-file-ignores = {"__init__.py" = ["E402", "F401"]}