forked from volcengine/veaiops
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (101 loc) · 2.45 KB
/
pyproject.toml
File metadata and controls
110 lines (101 loc) · 2.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
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
110
[project]
name = "veaiops"
version = "0.1.0"
description = "Volc Engine AIOps"
readme = "README.md"
requires-python = ">=3.12,<4.0"
dependencies = [
"aiocache>=0.12.3",
"alibabacloud-cms20190101>=1.0.0",
"alibabacloud-credentials>=1.0.0",
"bcrypt>=4.3.0",
"beanie>=2.0.0",
"scipy>=1.15.3",
"dbscan1d>=0.2.2",
"fastapi>=0.116.1",
"google-adk==1.15.1",
"httpx>=0.28.1",
"json-repair>=0.50.1",
"loguru>=0.7.3",
"lark-oapi>=1.4,<2.0",
"markdownify>=1.2.0",
"pillow>=11.3.0",
"pillow-heif>=1.1.0",
"pydantic-settings>=2.10.1",
"python-jose>=3.5.0",
"pyzabbix>=1.3.1",
"starlette-context>=0.4.0",
"tenacity>=8.5.0",
"tos>=2.8.7",
"urlextract>=1.9.0",
"uvicorn>=0.35.0",
"volcengine>=1.0.201",
"opentelemetry-api>=1.27.0",
"opentelemetry-sdk>=1.27.0",
"opentelemetry-exporter-otlp>=1.27.0",
"opentelemetry-instrumentation-fastapi>=0.48b0",
"opentelemetry-instrumentation-pymongo>=0.48b0",
"tldextract>=5.3.0",
"veadk-python[extensions]==0.2.18",
]
[project.optional-dependencies]
algorithm = [] # todo: add algorithm dependence
[tool.setuptools.packages.find]
include = ["veaiops*"]
[dependency-groups]
dev = [
"pre-commit>=4.3.0",
"ruff>=0.13.0",
"tomli>=2.2.1",
"types-cachetools>=6.2.0.20250827",
"types-tqdm>=4.67.0.20250809",
"bandit>=1.8.6",
]
docs = [
"mkdocs-material>=9.6.19",
"mkdocs-static-i18n>=1.3.0",
"mkdocstrings[python]>=0.30.0",
]
test = [
"mongomock-motor>=0.0.36",
"pytest>=8.4.2",
"pytest-asyncio>=1.1.0",
"pytest-mock>=3.15.0",
"pytest-cov>=4.0.0",
]
[tool.ruff]
target-version = "py312"
line-length = 120
exclude = [
".git",
"__pycache__",
".venv",
"frontend",
]
per-file-ignores = { "tests/**/*.py" = ["D"] }
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"D", # pydocstyle
]
ignore = [
"D100", # Missing docstring in public module
"D104", # Missing docstring in public package
"D105", # Missing docstring in magic method
"D107", # Missing docstring in __init__
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.isort]
# Black-compatible import sorting
force-single-line = false
combine-as-imports = true
split-on-trailing-comma = true
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.codespell]
ignore-words-list = "medias"