dev: fix some mypy
errors and switch to ruff
#1523
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Checks | |
on: | |
workflow_dispatch: | |
push: | |
branches: ['main', 'dev-*'] | |
pull_request: | |
release: | |
types: [published] | |
jobs: | |
pre-commit: | |
name: "Run pre-commit" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- uses: pre-commit/[email protected] | |
optional-deps: | |
name: "Static check optional deps" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- run: | | |
python .github/scripts/no_pandas.py great_tables _tbl_data.py data/__init__.py |