-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
91 lines (81 loc) · 1.74 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[tool.poetry]
name = "aidial-assistant"
version = "0.8.0rc"
description = "DIAL Assistant Service"
authors = ["EPAM RAIL <SpecialEPM-DIALDevTeam@epam.com>"]
homepage = "https://epam-rail.com"
license = "Apache-2.0"
readme = "README.md"
keywords = ["ai"]
classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules"
]
repository = "https://github.com/epam/ai-dial-assistant.git"
[tool.poetry.scripts]
clean = "scripts.clean:main"
[tool.poetry.dependencies]
python = "^3.11"
aiocache = "^0.12.2"
jinja2 = "^3.1.3"
langchain = "^0.1.0"
openai = "^1.3.9"
pydantic = "1.10.13"
pyyaml = "^6.0.1"
typing-extensions = "^4.8.0"
aidial-sdk = { version = "^0.7.0", extras = ["telemetry"] }
aiohttp = "^3.9.2"
openapi-schema-pydantic = "^1.2.4"
openapi-pydantic = "^0.3.2"
[tool.poetry.group.dev.dependencies]
nox = "^2023.4.22"
python-dotenv = "^1.0.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.4.2"
pytest-asyncio = "^0.21.1"
[tool.poetry.group.lint.dependencies]
flake8 = "^6.0.0"
black = "^23.3.0"
isort = "^5.12.0"
pyright = "^1.1.324"
autoflake = "^2.2.0"
[tool.pyright]
typeCheckingMode = "basic"
reportUnusedVariable = "error"
reportIncompatibleMethodOverride = "error"
exclude = [
".git",
".venv",
".nox",
"**/.pytest_cache",
"**/__pycache__",
]
[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 = [
'\.git',
'\.venv',
'\.nox',
'\.pytest_cache',
'__pycache__',
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"