@@ -7,8 +7,8 @@ name = "jupyter_ai_monorepo"
7
7
dynamic = [" version" , " description" , " authors" , " urls" , " keywords" ]
8
8
requires-python = " >=3.9"
9
9
dependencies = [
10
- " jupyter-ai-magics @ {root:uri}/packages/jupyter-ai-magics" ,
11
- " jupyter-ai @ {root:uri}/packages/jupyter-ai"
10
+ " jupyter-ai-magics @ {root:uri}/packages/jupyter-ai-magics" ,
11
+ " jupyter-ai @ {root:uri}/packages/jupyter-ai" ,
12
12
]
13
13
14
14
[project .optional-dependencies ]
@@ -26,10 +26,7 @@ source = "nodejs"
26
26
path = " package.json"
27
27
28
28
[tool .hatch .build ]
29
- packages = [
30
- " packages/jupyter-ai-magics" ,
31
- " packages/jupyter-ai"
32
- ]
29
+ packages = [" packages/jupyter-ai-magics" , " packages/jupyter-ai" ]
33
30
34
31
[tool .hatch .metadata ]
35
32
allow-direct-references = true
@@ -40,23 +37,8 @@ ignore = [".*"]
40
37
[tool .check-wheel-contents ]
41
38
ignore = [" W002" ]
42
39
43
- [tool .importlinter ]
44
- root_packages = [" jupyter_ai" , " jupyter_ai_magics" ]
45
- include_external_packages = true
46
-
47
- [[tool .importlinter .contracts ]]
48
- key = " pydantic"
49
- name = " Forbid `pydantic`. (note: Developers should import Pydantic from `langchain.pydantic_v1` instead for compatibility.)"
50
- type = " forbidden"
51
- source_modules = [" jupyter_ai" , " jupyter_ai_magics" ]
52
- forbidden_modules = [" pydantic" ]
53
- # TODO: get `langchain` to export `ModelMetaclass` to avoid needing this statement
54
- ignore_imports = [" jupyter_ai_magics.providers -> pydantic" ]
55
-
56
40
[tool .pytest .ini_options ]
57
41
addopts = " --ignore packages/jupyter-ai-module-cookiecutter"
58
42
59
43
[tool .mypy ]
60
- exclude = [
61
- " tests"
62
- ]
44
+ exclude = [" tests" ]
0 commit comments