-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (42 loc) · 1.6 KB
/
Copy pathpyproject.toml
File metadata and controls
51 lines (42 loc) · 1.6 KB
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
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pypiquant"
dynamic = ["version"]
authors = [
{name = "Mario Sieg", email = "mario.sieg.64@gmail.com"},
]
description = "Multithreaded SIMD int8 and int4 quantization kernels."
dependencies = ["cffi", "torch", "numpy"]
readme = "README.md"
[project.urls]
Documentation = "https://github.com/PrimeIntellect-ai/pi-quant"
Repository = "https://github.com/PrimeIntellect-ai/pi-quant"
Issues = "https://github.com/PrimeIntellect-ai/pi-quant/issues"
[project.optional-dependencies]
dev = ["pytest","torch","numpy","pre-commit","ruff", "matplotlib", "twine"]
[tool.uv]
# Enforce a uv version that supports the friendly-duration form
# (`"7 days"`) in the static pyproject parser. Older uvs silently parse
# the value as an RFC 3339 date, emit a TOML parse warning, and proceed
# *without* the cooldown — bypassing this security policy.
required-version = ">=0.11.1"
# Supply-chain cooldown: new PyPI uploads must age 7 days before resolution
# picks them up. Applies whenever this project is locked or installed via uv.
# pypiquant has no first-party PrimeIntellect dependencies in its closure, so
# no exclude-newer-package exemptions are needed yet — add a
# [tool.uv.exclude-newer-package] entry when that changes.
exclude-newer = "7 days"
[tool.ruff]
line-length = 120
target-version = "py38"
[tool.setuptools.dynamic]
version = {attr = "piquant.__version__"}
[tool.ruff.lint]
ignore = ["F403"]
select = ["ANN"]
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint.per-file-ignores]
"setup.py" = ["ANN"]