-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
115 lines (103 loc) · 2.21 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
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "binpickle"
description = "Optimized format for pickling binary data."
authors = [
{ name = "Michael Ekstrand", email = "[email protected]" },
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
]
requires-python = ">= 3.10"
readme = "README.md"
license = { file = "LICENSE.md" }
dynamic = ["version"]
dependencies = [
"msgpack >= 1.0", # p2c: -s msgpack-python
"numcodecs >= 0.12",
"typing-extensions ~= 4.8",
"prettytable ~= 3.5",
]
[project.optional-dependencies]
dev = [
"setuptools>=64",
"setuptools_scm>=8",
"build",
"twine",
"ruff",
"pyright",
"copier",
"unbeheader", # p2c: -p
"ipython",
"pyproject2conda",
"sphinx-autobuild",
"humanize ~=4.0",
"msgpack-types", # p2c: -p
"pandas-stubs",
]
test = [
"pytest >= 5",
"pytest-cov",
"hypothesis >= 6",
"pandas >= 1.4",
"numpy >= 1.22",
]
doc = [
"sphinx >=4.2",
"sphinxext-opengraph >= 0.5",
"furo",
]
[project.urls]
Homepage = "https://binpickle.lenksit.org"
GitHub = "https://github.com/lenskit/binpickle"
# configure build tools
[tool.setuptools]
packages = ["binpickle"]
[tool.setuptools_scm]
version_scheme = "guess-next-dev"
# settings for generating conda environments for dev & CI, when needed
[tool.pyproject2conda]
channels = ["conda-forge"]
[tool.coverage.report]
omit = [
"binpickle/__main__.py",
]
[tool.ruff]
line-length = 100
target-version = "py310"
select = ["E", "F", "I"]
exclude = [
".git",
"__pycache__",
"docs/conf.py",
"build",
"dist",
]
[tool.ruff.lint.isort]
section-order = [
"future",
"standard-library",
"third-party",
"testing",
"first-party",
"local-folder",
]
[tool.ruff.lint.isort.sections]
testing = ["pytest", "hypothesis"]
[tool.mypy]
exclude = "^docs/"
[tool.pyright]
typeCheckingMode = "strict"
exclude = [
"docs/*",
]
reportUnnecessaryIsInstance = false
reportMissingImports = true
reportMissingTypeStubs = false