Skip to content

Hotfix

Hotfix #17

Workflow file for this run

# This file was generated from bswck/skeleton@61eeffb.
# Instead of changing this particular file, you might want to alter the template:
# https://github.com/bswck/skeleton/tree/61eeffb/project/.github/workflows/mypy.yml.jinja
name: "Mypy"
on: ["push"]
jobs:
typecheck:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- name: "Set up Python 3.10"
uses: "actions/setup-python@v5"
with:
python-version: "3.10"
- name: "Install the project"
run: |
pip install poetry
poetry install
- name: "Type-check with mypy"
run: >
poetry run mypy . --strict
|| (echo yes | poetry run mypy --install-types && poetry run mypy . --strict)