-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (63 loc) · 1.55 KB
/
Copy pathpyproject.toml
File metadata and controls
73 lines (63 loc) · 1.55 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"opentelemetry-exporter-otlp-proto-http>=1.43.0,<2",
"opentelemetry-sdk>=1.43.0,<2",
"pyright>=1.1.411",
"ruff>=0.15.21",
]
[project]
name = "src-py-lib"
dynamic = ["version"]
description = "Reusable libraries for Sourcegraph projects"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{ name="Sourcegraph" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Typing :: Typed",
]
dependencies = [
"httpx>=0.28.1,<1",
"opentelemetry-api>=1.43.0,<2",
"pydantic>=2.13.4,<3",
"python-dotenv>=1.2.2,<2",
]
keywords = [
"Sourcegraph"
]
[project.urls]
Homepage = "https://github.com/sourcegraph/src-py-lib"
Issues = "https://github.com/sourcegraph/src-py-lib/issues"
[project.optional-dependencies]
otel = [
"opentelemetry-exporter-otlp-proto-http>=1.43.0,<2",
"opentelemetry-sdk>=1.43.0,<2",
]
[tool.hatch.build.targets.wheel]
packages = ["src/src_py_lib"]
[tool.hatch.version]
source = "vcs"
[tool.pyright]
include = ["src/src_py_lib", "tests"]
typeCheckingMode = "strict"
extraPaths = ["src"]
pythonVersion = "3.11"
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "SIM"]
[tool.uv]
package = true