Skip to content

Commit

Permalink
ci(python): add typecheck for lance/debug.py,tracing.py,dependencies.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghua committed Dec 25, 2024
1 parent c6fcb31 commit 3614a85
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,12 @@ lint.select = ["F", "E", "W", "I", "G", "TCH", "PERF", "B019"]
[tool.pyright]
pythonVersion = "3.12"
# TODO: expand this list as we fix more files.
include = ["python/lance/util.py"]
include = [
"python/lance/util.py",
"python/lance/debug.py",
"python/lance/tracing.py",
"python/lance/dependencies.py",
]
# Dependencies like pyarrow make this difficult to enforce strictly.
reportMissingTypeStubs = "warning"
reportImportCycles = "error"
Expand Down

0 comments on commit 3614a85

Please sign in to comment.