Skip to content

chore: add mypy typecheck baseline#5162

Open
LuciferYang wants to merge 1 commit into
lance-format:mainfrom
LuciferYang:chore/type-checking-baseline
Open

chore: add mypy typecheck baseline#5162
LuciferYang wants to merge 1 commit into
lance-format:mainfrom
LuciferYang:chore/type-checking-baseline

Conversation

@LuciferYang
Copy link
Copy Markdown

What

  • Add mypy and typing stubs to the dev dependencies.
  • Add a PR typecheck job and a local make typecheck target.
  • Start with a strict mypy baseline for lance_ray/pandas.py, lance_ray/pool.py, and lance_ray/utils.py.

Why

This gives CI a type-checking entry point without blocking on the existing package-wide strict-mode errors. The checked file set can be expanded incrementally.

Testing

  • PATH="$PWD/.venv/bin:$PATH" make typecheck
  • ./.venv/bin/python -m ruff check .
  • ./.venv/bin/python -m ruff format --check .
  • ./.venv/bin/python -m pytest tests/test_pool.py -q
  • ./.venv/bin/python -m pytest tests/test_fragment.py -q

Refs #65

@github-actions github-actions Bot added the chore label Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant