@@ -23,18 +23,6 @@ dependencies = [
2323 " numpy>=1,<2" ,
2424]
2525
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-
3826[project .urls ]
3927repository = " https://github.com/timescale/python-vector"
4028documentation = " https://timescale.github.io/python-vector"
@@ -51,36 +39,46 @@ addopts = [
5139 " --import-mode=importlib" ,
5240]
5341
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.*"]
8482
8583[tool .ruff ]
8684line-length = 120
@@ -137,4 +135,18 @@ select = [
137135 " W291" ,
138136 " PIE" ,
139137 " 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