🎨 [pre-commit.ci] Auto format from pre-commit.com hooks #1227
This file contains hidden or 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: MyPy | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| mypy: | |
| name: MyPy (Python 3.10) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Install or update dependencies | |
| run: uv sync --frozen --all-extras --all-groups --python 3.10 | |
| - name: Run MyPy | |
| run: uv run mypy . |