Skip to content

Commit 62d5b99

Browse files
committed
chore: add config for mypy
1 parent 03878cd commit 62d5b99

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

pyproject.toml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ description = "With CocoIndex, users declare the transformation, CocoIndex creat
99
authors = [{ name = "CocoIndex", email = "[email protected]" }]
1010
readme = "README.md"
1111
requires-python = ">=3.11"
12-
dependencies = ["sentence-transformers>=3.3.1", "click>=8.1.8", "rich>=14.0.0", "python-dotenv>=1.1.0"]
12+
dependencies = [
13+
"sentence-transformers>=3.3.1",
14+
"click>=8.1.8",
15+
"rich>=14.0.0",
16+
"python-dotenv>=1.1.0",
17+
]
1318
license = "Apache-2.0"
1419
urls = { Homepage = "https://cocoindex.io/" }
1520

@@ -23,4 +28,9 @@ module-name = "cocoindex._engine"
2328
features = ["pyo3/extension-module"]
2429

2530
[project.optional-dependencies]
26-
test = ["pytest"]
31+
test = ["pytest"]
32+
33+
[tool.mypy]
34+
python_version = "3.11"
35+
# Disable for not as we have missing type annotations. See https://github.com/cocoindex-io/cocoindex/issues/539
36+
# strict = true

0 commit comments

Comments
 (0)