forked from dask-contrib/dask-awkward
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
175 lines (156 loc) · 4.12 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
[build-system]
requires = ["hatchling>=1.8.0", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "dask-awkward"
description = "Awkward Array meets Dask"
readme = "README.md"
license = {text = "BSD-3-Clause"}
requires-python = ">=3.8"
authors = [
{ name = "Doug Davis", email = "[email protected]" },
{ name = "Martin Durant", email = "[email protected]" },
]
maintainers = [
{ name = "Doug Davis", email = "[email protected]" },
{ name = "Martin Durant", email = "[email protected]" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"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",
"Topic :: Software Development",
]
dependencies = [
"awkward >=2.5.1",
"dask >=2023.04.0",
"cachetools",
"typing_extensions >=4.8.0",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/dask-contrib/dask-awkward"
"Bug Tracker" = "https://github.com/dask-contrib/dask-awkward/issues"
[project.optional-dependencies]
io = [
"pyarrow",
]
complete = [
"dask-awkward[io]",
]
# `docs` and `test` are separate from user installs
docs = [
"dask-awkward[complete]",
"sphinx-book-theme",
"sphinx-design",
"sphinx-codeautolink",
# broken see PR 451
# "dask-sphinx-theme",
]
test = [
"aiohttp;python_version<\"3.12\"",
"dask[dataframe]",
"dask-awkward[complete]",
"dask-histogram",
"distributed",
"hist",
"pandas",
"pytest >=6.0,<8",
"pytest-cov >=3.0.0",
"requests",
"uproot >=5.1.0",
]
[project.entry-points."dask.sizeof"]
awkward = "dask_awkward_sizeof:register"
[tool.hatch.build.targets.sdist.force-include]
"src/dask_awkward_sizeof" = "src/dask_awkward_sizeof"
[tool.hatch.build.targets.wheel]
packages = ["src/dask_awkward", "src/dask_awkward_sizeof"]
[project.entry-points."awkward.pickle.reduce"]
dask_awkward = "dask_awkward.pickle:plugin"
[tool.hatch.version]
source = "vcs"
path = "src/dask_awkward/__init__.py"
[tool.hatch.build.hooks.vcs]
version-file = "src/dask_awkward/version.py"
[tool.hatch.build.targets.sdist]
include = ["/src"]
[tool.setuptools_scm]
write_to = "src/dask_awkward/_version.py"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
addopts = ["-v", "-ra", "--showlocals", "--strict-markers", "--strict-config"]
log_cli_level = "DEBUG"
filterwarnings = ["ignore:There is no current event loop"]
xfail_strict = false
[tool.isort]
profile = "black"
line_length = 88
src_paths = ["src", "tests"]
[tool.mypy]
python_version = "3.9"
files = ["src"]
exclude = ["tests/"]
strict = false
warn_unused_configs = true
show_error_codes = true
allow_incomplete_defs = false
allow_untyped_decorators = false
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_unreachable = true
[[tool.mypy.overrides]]
module = [
"awkward.*",
"IPython.*",
"fsspec.*",
"pyarrow.*",
"tlz.*",
"uproot.*",
"cloudpickle.*",
"cachetools.*"
]
ignore_missing_imports = true
[tool.pyright]
include = ["src"]
pythonVersion = "3.9"
reportPrivateImportUsage = false
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"except ImportError:",
"NotImplementedError",
"DaskAwkwardNotImplemented",
"_ipython_key_completions_",
"Only highlevel=True is supported",
"\\.\\.\\.$",
]
fail_under = 90
show_missing = true
[tool.coverage.run]
omit = [
"*/dask_awkward/lib/unproject_layout.py",
"*/tests/test_*.py",
"*/tests/__init__.py",
"*/version.py",
]
source = ["src/"]
[tool.ruff]
ignore = ["E501", "E402"]
per-file-ignores = {"__init__.py" = ["E402", "F401"]}