forked from mistralai/client-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (54 loc) · 1.45 KB
/
pyproject.toml
File metadata and controls
65 lines (54 loc) · 1.45 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
[project]
name = "mistralai"
version = "1.7.0"
description = "Python Client SDK for the Mistral AI API."
authors = [{ name = "Mistral" },]
readme = "README-PYPI.md"
requires-python = ">=3.9"
dependencies = [
"eval-type-backport >=0.2.0",
"httpx >=0.28.1",
"pydantic >=2.10.3",
"python-dateutil >=2.8.2",
"typing-inspection >=0.4.0",
]
[tool.poetry]
repository = "https://github.com/mistralai/client-python.git"
packages = [
{ include = "mistralai", from = "src" },
{ include = "mistralai_azure", from = "packages/mistralai_azure/src" },
{ include = "mistralai_gcp", from = "packages/mistralai_gcp/src" },
]
include = ["py.typed", "src/mistralai/py.typed"]
[tool.setuptools.package-data]
"*" = ["py.typed", "src/mistralai/py.typed"]
[virtualenvs]
in-project = true
[tool.poetry.group.dev.dependencies]
mypy = "==1.14.1"
pylint = "==3.2.3"
pytest = "^8.2.2"
pytest-asyncio = "^0.23.7"
types-python-dateutil = "^2.9.0.20240316"
[project.optional-dependencies]
gcp = [
"google-auth >=2.27.0",
"requests >=2.32.3"
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "function"
pythonpath = ["src"]
[tool.mypy]
disable_error_code = "misc"
[[tool.mypy.overrides]]
module = "typing_inspect"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "jsonpath"
ignore_missing_imports = true
[tool.pyright]
venvPath = "."
venv = ".venv"