-
Notifications
You must be signed in to change notification settings - Fork 929
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (76 loc) · 1.94 KB
/
pyproject.toml
File metadata and controls
86 lines (76 loc) · 1.94 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
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "github-copilot-sdk"
version = "0.1.0"
description = "Python SDK for GitHub Copilot CLI"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
# license-files is set by scripts/build-wheels.mjs for bundled CLI wheels
authors = [
{name = "GitHub", email = "opensource@github.com"}
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"python-dateutil>=2.9.0.post0",
"pydantic>=2.0",
]
[project.urls]
Homepage = "https://github.com/github/copilot-sdk"
Repository = "https://github.com/github/copilot-sdk"
[project.optional-dependencies]
dev = [
"ruff>=0.1.0",
"ty>=0.0.2",
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-timeout>=2.0.0",
"httpx>=0.24.0",
]
# Use find with a glob so that the copilot.bin subpackage (created dynamically
# by scripts/build-wheels.mjs during publishing) is included in platform wheels.
[tool.setuptools.packages.find]
where = ["."]
include = ["copilot*"]
[tool.ruff]
line-length = 100
target-version = "py311"
exclude = [
"generated",
"copilot/generated",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ty.rules]
invalid-argument-type = "warn"
[tool.ty.src]
exclude = [
"generated",
"copilot/generated",
"copilot/test_*.py",
]
[tool.pytest.ini_options]
testpaths = ["."]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
asyncio_mode = "auto"