-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (68 loc) · 1.79 KB
/
pyproject.toml
File metadata and controls
83 lines (68 loc) · 1.79 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
[project]
name = "nteract-workspace"
version = "0.0.0"
description = "Development workspace for nteract Python packages"
requires-python = ">=3.10"
dependencies = [
"nteract",
"gremlin ; sys_platform == 'darwin'",
]
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = []
[tool.uv.workspace]
members = ["python/runtimed", "python/nteract", "python/gremlin"]
[tool.uv.sources]
runtimed = { workspace = true }
nteract = { workspace = true }
gremlin = { workspace = true }
[tool.ruff]
line-length = 100
target-version = "py310"
include = ["python/**/*.py", "python/**/*.pyi", "scripts/**/*.py"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
]
[tool.ruff.lint.isort]
known-first-party = ["runtimed", "nteract"]
[tool.ruff.lint.per-file-ignores]
"**/tests/**" = ["SIM105", "SIM117"]
[dependency-groups]
dev = [
"ruff>=0.15",
"ty>=0.0.22",
"pytest>=8.0",
"pyzmq>=26.0",
"numpy>=1.26",
"matplotlib>=3.8",
"pydantic-ai>=0.2.0",
"anywidget>=0.9.21",
]
agents = [
"claude-agent-sdk>=0.1.0",
]
[tool.ty.rules]
# .pyi stubs exist for the native PyO3 module (runtimed.pyi) — keep this strict
unresolved-import = "error"
# Tests patch builtins.get_ipython which ty can't model
[[tool.ty.overrides]]
include = ["**/tests/**"]
[tool.ty.overrides.rules]
unresolved-attribute = "ignore"
invalid-assignment = "ignore"
# Gremlin depends on claude-agent-sdk which is macOS-only (not in CI)
[[tool.ty.overrides]]
include = ["python/gremlin/**"]
[tool.ty.overrides.rules]
unresolved-import = "ignore"
[tool.ruff.format]
quote-style = "double"