-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (51 loc) · 1.14 KB
/
pyproject.toml
File metadata and controls
59 lines (51 loc) · 1.14 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
[project]
name = "nexus-mcp"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"anyio>=4.10.0",
"mcp>=1.13.0",
"nexus-rpc>=1.1.0",
"pydantic>=2.11.7",
"temporalio>=1.15.0",
]
[dependency-groups]
dev = [
"mypy>=1.13.0",
"poethepoet>=0.35.0",
"pyright>=1.1",
"pytest-asyncio>=1.1.0",
"pytest>=8.4.1",
"ruff>=0.8.0",
]
[tool.pytest.ini_options]
minversion = "8.4.1"
testpaths = ["tests"]
addopts = "-v --tb=short"
[tool.ruff]
target-version = "py313"
line-length = 120
fix = true
[tool.ruff.lint.per-file-ignores]
"tests/**/*" = ["S101"] # Allow assert in tests
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.mypy]
python_version = "3.13"
strict = true
[tool.poe.tasks]
lint = [
{cmd = "uv run pyright"},
{cmd = "uv run mypy --check-untyped-defs ."},
{cmd = "uv run ruff check --select I"},
{cmd = "uv run ruff format --check"},
]
format = [
{cmd = "uv run ruff check --select I --fix"},
{cmd = "uv run ruff format"},
]
[tool.uv.sources]
temporalio = { git = "https://github.com/temporalio/sdk-python" }