-
Notifications
You must be signed in to change notification settings - Fork 178
Expand file tree
/
Copy pathpyproject.toml
More file actions
120 lines (105 loc) · 3.17 KB
/
pyproject.toml
File metadata and controls
120 lines (105 loc) · 3.17 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
111
112
113
114
115
116
117
118
119
120
[project]
name = "notte"
version = "1.4.4.dev"
description = "Notte, the full-stack web AI agent framework"
readme = "README.md"
license = "SSPL-1.0"
authors = [
{ name = "Notte Team ", email = "hello@notte.cc" }
]
requires-python = ">=3.11"
dependencies = [
"notte-core==1.4.4.dev",
"notte-sdk==1.4.4.dev",
"notte-browser==1.4.4.dev",
"notte-agent==1.4.4.dev",
"google-auth>=2.39.0",
"toml>=0.10.2",
]
[project.optional-dependencies]
integrations = ["notte-integrations==1.4.4.dev"]
eval = ["notte-eval==1.4.4.dev"]
mcp = ["notte-mcp==1.4.4.dev"]
[tool.uv.sources]
notte-core = { workspace = true }
notte-sdk = { workspace = true }
notte-browser = { workspace = true }
notte-agent = { workspace = true }
notte-llm = { workspace = true }
notte-integrations = { workspace = true }
notte-eval = { workspace = true }
notte-mcp = { workspace = true }
[tool.uv.workspace]
members = ["packages/*", "."]
exclude = ["packages/notte-bua"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/notte"]
[dependency-groups]
dev = [
"aiomultiprocess>=0.9.1",
"basedpyright>=1.27.1",
"cloudpickle>=3.1.1",
"freezegun>=1.5.2",
"halo>=0.0.28",
"joblib>=1.4.2",
"jupyter>=1.1.1",
"pandas",
"pandas-stubs>=2.2.3.250308",
"pebble>=5.1.1",
"pre-commit>=4.1.0",
"pytest>=8.3.4",
"pytest-asyncio>=0.25.3",
"pytest-cov>=6.2.1",
"pytest-examples>=0.0.17",
"pytest-mock>=3.14.0",
"pytest-order>=1.1.1",
"pytest-rerunfailures>=15.0",
"pytest-timeout>=2.4.0",
"pytest-xdist[psutil]>=3.8.0",
"sphinx>=8.2.3",
"sphinx-mintlify>=0.1.0",
"twine>=6.1.0",
]
lint = [
"ruff>=0.9.7",
]
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "session"
testpaths = ["tests"]
timeout = 300
timeout_method = "thread"
asyncio_mode = "strict"
log_cli = true
log_cli_level = "INFO"
filterwarnings = [
"ignore::DeprecationWarning:sklearn.utils.fixes:",
"ignore::DeprecationWarning:pandas.core.common:",
"ignore::pydantic.warnings.PydanticDeprecatedSince20:",
"ignore::DeprecationWarning:importlib.resources._legacy:",
"ignore::DeprecationWarning:litellm.utils:",
"ignore:open_text is deprecated*:DeprecationWarning",
"ignore:distutils Version classes are deprecated. Use packaging.version instead.*:DeprecationWarning",
'ignore:configuration option "asyncio_default_fixture_loop_scope" is unset',
"ignore:Valid config keys have changed in V2*:UserWarning"
]
[tool.ruff]
line-length = 120
indent-width = 4
exclude = [".venv"]
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.per-file-ignores]
# Documentation snippet testers contain partial code examples
# F821: undefined names (e.g. `agent`, `session` assumed from context)
# F841: unused variables (e.g. `result = agent.run(...)` shown for docs)
"docs/src/testers/**/*.py" = ["F821", "F841"]
[tool.basedpyright]
exclude = [".venv", "uv-cache", "**/site-packages/**", "**/dist-packages/**", "tests", "old", "notebook", "dist", ".github"]
enableTypeIgnoreComments = true
reportIgnoreCommentWithoutRule = false
failOnWarnings = true
reportAny = false
reportExplicitAny = false