Skip to content

Complete mypy type coverage for entire codebase #20

Complete mypy type coverage for entire codebase

Complete mypy type coverage for entire codebase #20

Workflow file for this run

name: Mypy
on: [push, pull_request]
jobs:
mypy:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up python
uses: actions/setup-python@v4
- name: Cache pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dev-env.
run: |
pip install -U pip
pip install ".[dev]"
- name: Mypy
run: tree -d && mypy . --exclude '/build/' -v