-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
39 lines (31 loc) · 864 Bytes
/
pyproject.toml
File metadata and controls
39 lines (31 loc) · 864 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "numcodecs-tokenize"
version = "0.1.3"
description = "Tokenization codec for the `numcodecs` buffer compression API"
readme = "README.md"
license = "MPL-2.0"
requires-python = ">=3.10"
dependencies = [
"leb128~=1.0.8",
"numcodecs>=0.13.0,<0.17",
"numpy~=2.0",
]
[dependency-groups]
dev = ["mypy~=1.14", "pytest~=8.3"]
[project.entry-points."numcodecs.codecs"]
"tokenize" = "numcodecs_tokenize:TokenizeCodec"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"numcodecs_tokenize" = ["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 = ["leb128.*", "numcodecs.*"]
follow_untyped_imports = true