This repository was archived by the owner on Apr 15, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (70 loc) · 1.44 KB
/
pyproject.toml
File metadata and controls
82 lines (70 loc) · 1.44 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
[project]
name = 'coglet'
dynamic = ['version']
description = 'Minimum viable Cog runtime'
readme = 'README.md'
requires-python = '>=3.9'
classifiers = [
'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',
]
dependencies = ["typing_extensions>=4.15"]
[project.optional-dependencies]
dev = [
'build',
'ipython',
'mypy==1.16.0', # pinned to fix CI
'nox',
'ruff',
'setuptools',
]
test = [
'openai',
'pytest-cov',
'pytest',
'pytest-asyncio',
'pytest-xdist',
'tqdm',
]
provided = [
'pydantic',
]
[build-system]
requires = ['setuptools', 'setuptools-scm']
build-backend = 'setuptools.build_meta'
[tool.check-wheel-contents]
ignore = ['W009', 'W002']
[tool.pytest.ini_options]
addopts = [
'-v',
'--cov',
'--cov-report=term',
'--cov-report=html',
]
asyncio_default_fixture_loop_scope = 'function'
filterwarnings = [
'ignore::ImportWarning',
]
testpaths = [
'python',
]
[tool.ruff]
src = ['python']
exclude = [
"*.pyi",
]
[tool.ruff.format]
quote-style = 'single'
[tool.ruff.lint]
extend-select = ['I']
[tool.setuptools.packages.find]
where = ['python']
exclude = ['tests*']
[tool.setuptools.package-data]
'cog' = ['cog-*', '**/*.pyi']
'coglet' = ['*.pyi']
[tool.setuptools_scm]
version_file = "python/coglet/_version.py"