select all ruff rules #7
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: run typecheck | |
on: | |
pull_request: | |
paths: | |
- '**.py' | |
push: | |
paths: | |
- '**.py' | |
branches: | |
- main | |
jobs: | |
run-mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PDM | |
uses: pdm-project/setup-pdm@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: pdm install -dG typing | |
- name: Run tests | |
run: pdm run mypy . |