forked from kyma-project/kyma-companion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
109 lines (102 loc) · 2.59 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[tool.poetry]
name = "kyma-companion"
version = "0.1.0"
description = "Kyma Companion is AI Kyma assistant that helps you to manage your Kyma runtime"
authors = [
"Muhammad Faizan [email protected]",
"Aleksei Chernyshov [email protected]",
"Carina Kothe [email protected]",
"Friedrich Wilken [email protected]",
"Tibor Kiss [email protected]",
"Marco Bebway [email protected]",
"Piotr Bochynski [email protected]",
"Mansur Uralov [email protected]",
]
readme = "README.md"
packages = [{ include = "src" }]
license = "Apache-2.0"
package-mode = false
[tool.poetry.dependencies]
python = "~3.12"
# Add your production dependencies here
fastapi = "^0.111.0"
pytest = "^8.2.2"
langchain-community = "^0.2.6"
langchain-google-genai = "^1.0.7"
langchain-openai = "^0.1.14"
ai-core-sdk = "^2.3.11"
generative-ai-hub-sdk = "^3.2.6"
langfuse = "^2.39.1"
langgraph = "^0.2.5"
redis = "^5.0.8"
requests = "^2.32.3"
kubernetes = "^30.1.0"
langchain-experimental = "^0.0.64"
black = "^24.8.0"
langchain-redis = "^0.0.4"
langchain-aws = "^0.1.17"
langchain-google-vertexai = "^1.0.8"
tiktoken = "^0.7.0"
python-decouple = "^3.8"
[tool.poetry.group.test.dependencies]
pytest = "^8.2.2"
pytest-mock = "^3.14.0"
pytest-asyncio = "^0.23.7"
fakeredis = "^2.23.3"
pyyaml = "^6.0.1"
types-pyyaml = "^6.0.12.20240311"
prettytable = "^3.10.2"
termcolor = "^2.4.0"
pytest-dotenv = "^0.5.2"
deepeval = "^1.3.7"
[tool.poetry.group.dev.dependencies]
ruff = "v0.4.10"
flake8-bugbear = "^24.4.26"
poethepoet = "^0.27.0"
langfuse = "^2.38.0"
mypy = "^1.10.1"
flake8 = "^7.1.0"
black = "^24.4.2"
types-requests = "^2.32.0.20240712"
ipython = "^8.26.0"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra"
pythonpath = [
"src"
]
testpaths = [
"tests",
]
env_files = [
".test.env"
]
[tool.poe.tasks]
lint = "ruff check ."
typecheck = "mypy . --pretty"
format = "black . --check"
codecheck = ["lint", "typecheck", "format"]
format-fix = "black ."
lint-fix = "ruff check . --fix"
code-fix = ["format-fix", "lint-fix"]
test = "pytest tests/unit"
test-integration = "pytest tests/integration"
run = "fastapi run src/main.py --port 8000"
run-local = "fastapi dev src/main.py --port 8000"
pre-commit-check = ["code-fix", "codecheck", "test"]
[tool.mypy]
check_untyped_defs = true
warn_return_any = true
show_error_codes = true
warn_unused_ignores = true
disallow_untyped_defs = false
disallow_any_expr = false
ignore_missing_imports = true
show_column_numbers = true
allow_redefinition = true
disable_error_code = ["union-attr"]
# Exclude specific files or directories
exclude = [
'tests',
'scripts'
]