-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
68 lines (61 loc) · 1.67 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
[project]
name = "promptl-ai"
version = "1.0.4"
description = "PromptL bindings for Python"
authors = [{ name = "Latitude Data SL", email = "[email protected]" }]
maintainers = [{ name = "Latitude Data SL", email = "[email protected]" }]
readme = "README.md"
license = "MIT"
urls.repository = "https://github.com/latitude-dev/promptl-py"
urls.homepage = "https://github.com/latitude-dev/promptl-py#readme"
urls.documentation = "https://docs.latitude.so/promptl"
requires-python = ">=3.9, <3.13"
dependencies = [
"wasmtime>=28.0.0",
"pydantic>=2.10.3",
"typing-extensions>=4.12.2",
]
[dependency-groups]
dev = [
"pytest-asyncio>=0.24.0",
"pytest-xdist>=3.6.1",
"pytest>=8.3.4",
"pyright>=1.1.392",
"ruff>=0.8.3",
"sh>=1.14.3",
]
[tool.pyright]
pythonVersion = "3.9"
typeCheckingMode = "strict"
reportMissingTypeStubs = false
reportUnnecessaryIsInstance = false
reportPrivateUsage = false
[tool.ruff]
target-version = "py39"
line-length = 120
indent-width = 4
[tool.ruff.lint]
select = ["B", "C4", "E", "F", "I", "W", "UP"]
ignore = [
"F401",
"F403",
"UP015",
# Needed because unnecessary str() on field aliases are needed
# https://docs.pydantic.dev/2.8/concepts/fields/#field-aliases
"UP018",
# Needed because typing.List and typing.Dict are semi-deprecated
# in new Python versions but we want to maintain compatibility
"UP006",
"UP035",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.pytest.ini_options]
addopts = "-p no:warnings -n auto"
xfail_strict = true
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"