chore: add pyright static type checking and fix some of the table interface (#1996)

* Enable `pyright` in the project
* Fixed some pyright typing errors in `table.py`
This commit is contained in:
Lei Xu
2025-01-04 15:24:58 -08:00
committed by GitHub
parent 164ce397c2
commit f76c4a5ce1
7 changed files with 83 additions and 91 deletions

View File

@@ -30,10 +30,10 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
- name: Install ruff
run: |
pip install ruff==0.5.4
pip install ruff==0.8.4
- name: Format check
run: ruff format --check .
- name: Lint