forked from derisk-ai/OpenDerisk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (72 loc) · 1.87 KB
/
pyproject.toml
File metadata and controls
81 lines (72 loc) · 1.87 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
[project]
name = "derisk-mono"
version = "0.2.0"
description = """
Building AI-Native Risk Intelligent Systems,
Our vision is to provide every production system with a 7 * 24H AI teammate in the future,
constantly safeguarding your system's stability and security,
freeing you from tedious operations and risk management tasks.
"""
authors = [
{ name = "HongjunYang", email = "yhjun1026@gmail.com" }
]
dependencies = [
"allpairspy>=2.5.1"
]
readme = "README.md"
requires-python = ">= 3.10"
[tool.uv.sources]
derisk = { workspace = true }
derisk-client = { workspace = true }
derisk-ext = { workspace = true }
derisk-serve = { workspace = true }
derisk-app = { workspace = true }
[tool.uv.workspace]
members = [
"packages/derisk-app",
"packages/derisk-client",
"packages/derisk-core",
"packages/derisk-ext",
"packages/derisk-serve",
]
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true
[tool.uv]
managed = true
dev-dependencies = [
"pip",
"tomli>=2.0.2",
"tomli-w>=1.1.0",
"pytest>=7.0.0",
"pytest_asyncio",
"twine",
"ruff>=0.9.1",
"pytest-mock>=3.14.0",
"asynctest>=0.13.0",
"pytest-integration>=0.2.3",
"pytest-recording>=0.13.2",
"pytest-cov>=6.0.0",
"mypy>=1.15.0",
]
[tool.pytest.ini_options]
pythonpath = ["packages"]
addopts = ["--import-mode=importlib", ]
python_files = ["test_*.py", "*_test.py"]
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.format]
# Format docstrings
docstring-code-format = true
quote-style = "double"
indent-style = "space"
line-ending = "auto"
[tool.ruff.lint]
# Enable: eror check, import order
select = ["E", "F", "I"]
[tool.ruff.isort]
# Specify the local modules (first-party)
known-first-party = ["derisk", "derisk_client", "derisk_ext", "derisk_serve", "derisk_app"]