@@ -23,18 +23,6 @@ dependencies = [
23
23
" numpy>=1,<2" ,
24
24
]
25
25
26
- [project .optional-dependencies ]
27
- dev = [
28
- " ruff>=0.6.9" ,
29
- " pyright>=1.1.384" ,
30
- " pytest>=8.3.3" ,
31
- " langchain>=0.3.3" ,
32
- " langchain-openai>=0.2.2" ,
33
- " langchain-community>=0.3.2" ,
34
- " pandas>=2.2.3" ,
35
- " pytest-asyncio>=0.24.0" ,
36
- ]
37
-
38
26
[project .urls ]
39
27
repository = " https://github.com/timescale/python-vector"
40
28
documentation = " https://timescale.github.io/python-vector"
@@ -51,36 +39,46 @@ addopts = [
51
39
" --import-mode=importlib" ,
52
40
]
53
41
54
- [tool .pyright ]
55
- typeCheckingMode = " strict"
56
- reportImplicitOverride = true
57
- exclude = [
58
- " **/.bzr" ,
59
- " **/.direnv" ,
60
- " **/.eggs" ,
61
- " **/.git" ,
62
- " **/.git-rewrite" ,
63
- " **/.hg" ,
64
- " **/.ipynb_checkpoints" ,
65
- " **/.mypy_cache" ,
66
- " **/.nox" ,
67
- " **/.pants.d" ,
68
- " **/.pyenv" ,
69
- " **/.pytest_cache" ,
70
- " **/.pytype" ,
71
- " **/.ruff_cache" ,
72
- " **/.svn" ,
73
- " **/.tox" ,
74
- " **/.venv" ,
75
- " **/.vscode" ,
76
- " **/__pypackages__" ,
77
- " **/_build" ,
78
- " **/buck-out" ,
79
- " **/dist" ,
80
- " **/node_modules" ,
81
- " **/site-packages" ,
82
- " **/venv" ,
83
- ]
42
+
43
+ [tool .mypy ]
44
+ strict = true
45
+ ignore_missing_imports = true
46
+ namespace_packages = true
47
+
48
+
49
+ # [tool.pyright]
50
+ # reportMissingTypeStubs = false
51
+ # exclude = [
52
+ # "**/.bzr",
53
+ # "**/.direnv",
54
+ # "**/.eggs",
55
+ # "**/.git",
56
+ # "**/.git-rewrite",
57
+ # "**/.hg",
58
+ # "**/.ipynb_checkpoints",
59
+ # "**/.mypy_cache",
60
+ # "**/.nox",
61
+ # "**/.pants.d",
62
+ # "**/.pyenv",
63
+ # "**/.pytest_cache",
64
+ # "**/.pytype",
65
+ # "**/.ruff_cache",
66
+ # "**/.svn",
67
+ # "**/.tox",
68
+ # "**/.venv",
69
+ # "**/.vscode",
70
+ # "**/__pypackages__",
71
+ # "**/_build",
72
+ # "**/buck-out",
73
+ # "**/dist",
74
+ # "**/node_modules",
75
+ # "**/site-packages",
76
+ # "**/venv",
77
+ # ]
78
+
79
+ # [[tool.pyright.overrides]]
80
+ # source = ["**/*.py"]
81
+ # ignore = ["asyncpg", "pgvector.psycopg2", "psycopg2", "asyncpg.*"]
84
82
85
83
[tool .ruff ]
86
84
line-length = 120
@@ -137,4 +135,18 @@ select = [
137
135
" W291" ,
138
136
" PIE" ,
139
137
" Q"
140
- ]
138
+ ]
139
+
140
+ [tool .uv ]
141
+ dev-dependencies = [
142
+ " mypy>=1.12.0" ,
143
+ " types-psycopg2>=2.9.21.20240819" ,
144
+ " ruff>=0.6.9" ,
145
+ " pyright>=1.1.384" ,
146
+ " pytest>=8.3.3" ,
147
+ " langchain>=0.3.3" ,
148
+ " langchain-openai>=0.2.2" ,
149
+ " langchain-community>=0.3.2" ,
150
+ " pandas>=2.2.3" ,
151
+ " pytest-asyncio>=0.24.0" ,
152
+ ]
0 commit comments