-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (84 loc) · 1.76 KB
/
pyproject.toml
File metadata and controls
96 lines (84 loc) · 1.76 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
87
88
89
90
91
92
93
94
95
96
[project]
name = "aidial-client"
version = "0.0.0"
description = "A Python client library for the AI DIAL API"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10,<3.14"
authors = [
{ name = "DIALX", email = "SpecialEPM-DIALDevTeam@epam.com" },
]
dependencies = [
"openai>=1.1.0,<3",
"httpx>=0.25.0,<1",
"pydantic>=1.10,<3",
"aiofiles>=0.5.0",
]
[project.urls]
Homepage = "https://dialx.ai"
Repository = "https://github.com/epam/ai-dial-client-python"
[tool.poetry]
packages = [{ include = "aidial_client" }]
[build-system]
requires = ["poetry-core>=2.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.group.test.dependencies]
pytest = "^9.0.3"
pytest-asyncio = "^0.21.0"
nox = "^2024.4.15"
pytest-cov = "^5.0"
coverage = "^7.6"
[tool.poetry.group.lint.dependencies]
flake8 = "^6.0.0"
black = ">=23.3,<27.0"
isort = "^5.12.0"
pyright = "^1.1.324"
autoflake = "^2.2.0"
codespell = "^2.3.0"
blacken-docs = "^1.18.0"
[tool.poetry.group.dev.dependencies]
pre-commit = "^4.5.1"
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.pyright]
typeCheckingMode = "basic"
reportUnusedVariable = "error"
reportIncompatibleMethodOverride = "error"
exclude = [
".git",
"**/.venv",
".nox",
".pytest_cache",
"**/__pycache__",
"build",
]
[tool.black]
line-length = 80
exclude = '''
/(
\.git
| \.venv
| \.nox
| \.pytest_cache
| \.__pycache__
)/
'''
[tool.isort]
line_length = 80
profile = "black"
[tool.autoflake]
ignore_init_module_imports = true
remove_all_unused_imports = true
in_place = true
recursive = true
quiet = true
exclude = [".nox", ".pytest_cache", "\\.venv"]
[tool.coverage.run]
source = ["."]
omit = [
"tests/*",
"*/__init__.py",
"noxfile.py",
'aidial_client/_compatibility/pydantic_v1.py',
'htmlcov/*',
]