| 1 | --- |
| 2 | name: Lint |
| 3 | |
| 4 | on: |
| 5 | push: |
| 6 | branches: |
| 7 | - main |
| 8 | pull_request: |
| 9 | branches: |
| 10 | - main |
| 11 | |
| 12 | jobs: |
| 13 | build: |
| 14 | runs-on: ubuntu-latest |
| 15 | strategy: |
| 16 | fail-fast: false |
| 17 | |
| 18 | steps: |
| 19 | - uses: actions/checkout@v4 |
| 20 | - uses: chartboost/[email protected] |
| 21 | - uses: codespell-project/[email protected] |
| 22 | with: |
| 23 | check_hidden: false |
| 24 | - name: Set up Python |
| 25 | uses: actions/setup-python@v5 |
| 26 | with: |
| 27 | python-version: "3.12" |
| 28 | - name: Install dependencies |
| 29 | run: | |
| 30 | python -m pip install --upgrade pip |
| 31 | pip install -r requirements_dev.txt |
| 32 | - name: Static typing with mypy |
| 33 | run: | |
| 34 | mypy --install-types --non-interactive --no-warn-unused-ignores . |