forked from aws-samples/Intelli-Agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
64 lines (52 loc) · 1.5 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
[tool.poetry]
name = "LLM Bot"
version = "0.0.1"
description = "Steamline workflow including knowledge extraction/transformation/embedding/injection, intention identification, query re-write, multi-path knowledge retrieval, knowledge re-ranking, model invocation and response streaming"
authors = []
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/aws-samples/llm-bot"
[tool.poetry.dependencies]
python = "^3.10"
[tool.poetry.dev-dependencies]
pytest = "^7.3.0"
[tool.poetry.group.lint.dependencies]
ruff = "^0.1.5"
[tool.poetry.group.test.dependencies]
# The only dependencies that should be added are
# dependencies used for running tests (e.g., pytest, freezegun, response).
pytest = "^7.3.0"
pytest-cov = "^4.1.0"
pytest-dotenv = "^0.5.2"
pytest-watcher = "^0.2.6"
responses = "^0.22.0"
pytest-asyncio = "^0.20.3"
pytest-mock = "^3.10.0"
pytest-socket = "^0.6.0"
[tool.poetry.group.dev.dependencies]
pytest-snapshot = "^0.9.0"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"tests/unit_tests",
"tests/integration_tests",
]
addopts = "-ra -q"
[tool.ruff]
exclude = ["source/lambda/executor/utils/query_process_utils"]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"T201", # print
]
[tool.mypy]
ignore_missing_imports = "True"
disallow_untyped_defs = "True"
exclude = ["notebooks", "examples", "example_data"]
[tool.coverage.run]
omit = []
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"