-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (97 loc) · 2.73 KB
/
Copy pathpyproject.toml
File metadata and controls
110 lines (97 loc) · 2.73 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 = "mindstudio-agent"
version = "26.1.3"
description = "AI assistant for Ascend NPU profiling analysis, bottleneck diagnosis, and optimization guidance"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
dependencies = [
"aiofiles~=25.1.0",
"aiosqlite~=0.22.1",
"deepagents>=0.4.0, <0.6.0",
"duckduckgo-search>=8.0.0,<9.0.0",
"httpx>=0.28.0,<1.0.0",
"json-repair>=0.54.3,<0.59.0",
"langchain~=1.3.9",
"langchain-anthropic~=1.4.6",
"langchain-community~=0.3.31",
"langchain-core~=1.4.6",
"langchain-google-genai>=4.1.2,<4.3.0",
"langchain-mcp-adapters~=0.2.1",
"langchain-openai~=1.1.14",
"langgraph>=1.2.4,<1.3.0",
"langgraph-prebuilt>=1.1.0,<1.2.0",
"langgraph-checkpoint-sqlite~=3.1.1",
"markdown-it-py~=4.0.0",
"mdformat~=1.0.0",
"packaging>=24.0,<26.0",
"pathspec>=1.0.0,<1.1.0",
"prompt-toolkit>=3.0.43,<3.1",
"pydantic~=2.12.5",
"pydantic-settings>=2.12,<2.14",
"pyfiglet>=0.8",
"pygments-cache~=0.1.3",
"python-dotenv~=1.2.1",
"pyyaml~=6.0.3",
"rich>=14.2,<14.4",
"openpyxl>=3.1,<3.2",
"msprof-mcp==0.1.8",
"msprof-analyze>=26.1.0",
"mcp>=1.28.1,<2.0.0"
]
[project.scripts]
msagent = "msagent.cli.bootstrap.app:cli"
msagent-ascend-doc-mcp = "msagent.mcp.launchers.ascend_doc_mcp:main"
[tool.mypy]
python_version = "3.11"
mypy_path = ["src"]
[[tool.mypy.overrides]]
module = [
"langchain_mcp_adapters.*",
"pygments_cache.*",
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["yaml", "yaml.*", "aiofiles", "aiofiles.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "msagent.mcp.factory"
disable_error_code = ["assignment", "index", "typeddict-unknown-key", "arg-type"]
[tool.pytest.ini_options]
pythonpath = [".", "src"]
testpaths = ["tests"]
markers = [
"integration: mark test as integration test with real HTTP connections",
]
filterwarnings = [
"ignore:LangSmith now uses UUID v7:UserWarning:pydantic.v1.main",
"ignore:Using fallback GPT-2 tokenizer.*:UserWarning",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/msagent", "resources"]
force-include = { "src/msagent/py.typed" = "msagent/py.typed" }
[tool.hatch.build.targets.wheel.hooks.custom]
[tool.hatch.build.targets.sdist]
only-include = [
".python-version",
"README.md",
"pyproject.toml",
"resources",
"run.py",
"scripts",
"skills",
"src",
"tests",
"uv.lock",
]
[tool.hatch.build.targets.sdist.hooks.custom]
[dependency-groups]
dev = [
"black>=25.12,<26.2",
"mypy~=1.19.1",
"pytest~=9.0.2",
"pytest-asyncio~=1.3.0",
"ruff>=0.12.0,<0.14.0",
]