-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
41 lines (33 loc) · 923 Bytes
/
pyproject.toml
File metadata and controls
41 lines (33 loc) · 923 Bytes
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "numcodecs-huffman"
version = "0.1.3"
description = "Huffman codec for the `numcodecs` buffer compression API"
readme = "README.md"
license = "MPL-2.0"
requires-python = ">=3.10"
dependencies = [
"dahuffman~=0.4.0",
"leb128~=1.0.8",
"numcodecs>=0.13.0,<0.17",
"numpy~=2.0",
"typing-extensions~=4.6",
]
[dependency-groups]
dev = ["mypy~=1.14", "pytest~=8.3"]
[project.entry-points."numcodecs.codecs"]
"huffman" = "numcodecs_huffman:HuffmanCodec"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"numcodecs_huffman" = ["py.typed"]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I"]
[tool.pytest.ini_options]
addopts = ["--import-mode=importlib"]
xfail_strict = true
[[tool.mypy.overrides]]
module = ["dahuffman.*", "leb128.*", "numcodecs.*"]
follow_untyped_imports = true