-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
180 lines (170 loc) · 4.02 KB
/
Copy pathpyproject.toml
File metadata and controls
180 lines (170 loc) · 4.02 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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=68",
"setuptools>=77",
"wheel",
]
[project]
name = "infer-stack"
description = "Profile-driven compose and KubeAI deployment compiler for inference stacks"
readme = "README.md"
license = "Apache-2.0"
license-files = [
"LICENSE",
]
authors = [ { name = "jon.crall", email = "jon.crall@kitware.com" } ]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
]
dynamic = [
"version",
]
dependencies = [
"jinja2>=3.1",
"loguru>=0.7",
"pyyaml>=6.0",
"requests>=2.31",
"rich>=13.0",
"scriptconfig>=0.9",
"ubelt>=1.3",
]
optional-dependencies.tests = [
"pytest>=7.0",
"pytest-codeblocks>=0.17",
"pytest-cov>=3.0",
"xdoctest>=1.1.5",
]
optional-dependencies.tui = [
"textual>=0.50",
]
urls.Homepage = "https://github.com/AIQ-Kitware/infer_stack"
scripts.infer-stack = "infer_stack.cli:main"
[tool.setuptools]
include-package-data = true
dynamic.version.attr = "infer_stack.__version__"
package-data.infer_stack = [
"templates/*.yaml",
"templates/*.j2",
"mockserver/data/*.yaml",
]
package-data."*" = [
"requirements/*.txt",
]
packages.find.where = [
".",
]
packages.find.include = [
"infer_stack*",
]
[tool.uv]
exclude-newer = "2026-06-04T04:00:00Z"
[tool.ruff]
target-version = "py310"
line-length = 80
format.indent-style = "space"
format.quote-style = "single"
format.line-ending = "auto"
format.skip-magic-trailing-comma = false
format.docstring-code-format = false
lint.select = [
"E",
"F",
"I",
]
lint.ignore = [
"E402",
"E501",
]
[tool.codespell]
skip = [
"./docs/build",
"./*.egg-info",
"./build",
"./htmlcov",
]
count = true
quiet-level = 3
ignore-words-list = [
"wont",
"cant",
"ANS",
"doesnt",
"arent",
"ans",
"thats",
"datas",
"isnt",
]
[tool.mypy]
ignore_missing_imports = true
[tool.ty]
rules.unused-ignore-comment = "ignore"
rules.unused-type-ignore-comment = "ignore"
rules.unresolved-import = "ignore"
[tool.pytest]
ini_options.addopts = "-p no:doctest --xdoctest --xdoctest-style=google --ignore-glob=setup.py --ignore-glob=dev --ignore-glob=docs"
ini_options.norecursedirs = ".git ignore build __pycache__ dev _skbuild docs"
ini_options.filterwarnings = [
"default",
"ignore:.*No cfgstr given in Cacher constructor or call.*:Warning",
"ignore:.*Define the __nice__ method for.*:Warning",
"ignore:.*private pytest class or function.*:Warning",
]
[tool.coverage]
run.branch = true
report.exclude_lines = [
".* # nocover",
".* # pragma: no cover",
".*if six.PY2:",
"^ *pass *$",
"^ *raise",
"def __repr__",
"if __name__ == .__main__.:",
"if _debug:",
"if 0:",
"if trace is not None",
"pragma: no cover",
"raise AssertionError",
"raise NotImplementedError",
"verbose = .*",
]
report.omit = [
"*/setup.py",
"infer_stack/__main__.py",
]
[tool.xcookie]
# NOTE: PyPy is deliberately not supported. A `pypy-3.11` entry arrived in the
# tests matrix with the 2026-08-28 xcookie refresh and was removed by hand from
# .github/workflows/tests.yml; it failed test_leasing_coalesced_apply and we do
# not intend to support the platform. A regeneration will reintroduce it unless
# xcookie is told not to -- if there is a knob for that, set it here.
tags = [
"github",
"kitware",
"purepy",
]
os = [
"linux",
]
mod_name = "infer_stack"
repo_name = "infer_stack"
pkg_name = "infer-stack"
min_python = "3.10"
url = "https://github.com/AIQ-Kitware/infer_stack"
author = "jon.crall"
author_email = "jon.crall@kitware.com"
description = "Profile-driven compose and KubeAI deployment compiler for inference stacks"
use_setup_py = false
use_pyproject_requirements = true
enable_gpg = false