-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
70 lines (60 loc) · 1.89 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
# SPDX-License-Identifier: Apache-2.0
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "instructlab-quantize"
authors = [
{ name="Christian Heimes", email="[email protected]" },
]
description = "Quantize binary for InstructLab"
readme = "README.md"
license = {text = "Apache-2.0 AND MIT"}
requires-python = ">=3.9"
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
]
dynamic = ["version"]
[project.urls]
# TODO: move the project to instructlab
# homepage = "https://instructlab.io"
source = "https://github.com/tiran/instructlab-quantize"
issues = "https://github.com/tiran/instructlab-quantize/issues"
[tool.setuptools_scm]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.package-data]
"instructlab_quantize" = ["quantize-*"]
[tool.check-wheel-contents]
[tool.ruff]
target-version = "py39"
# same as black's default line length
line-length = 88
extend-exclude = ["llama.cpp"]
[tool.ruff.lint]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Fixers will be enabled gradually.
select = [
"B", # flake8-bugbear
"E", # pycodestyle
"F", # Pyflakes
"Q", # flake8-quotes
"I", # isort
"UP", # pyupgrade
"SIM", # flake8-simplify
]