Skip to content

😏 Mypy is better. #85

😏 Mypy is better.

😏 Mypy is better. #85

Workflow file for this run

name: Type Checking
on: [push]
jobs:
type-check:
runs-on: ubuntu-latest
steps:
- name: 🔔 Check out
uses: actions/checkout@v3
- name: 🏗️ python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: ⬇️ Python Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.7"
- name: ⬇️ Python Dependencies
run: poetry install
- name: 🚂 Activate environment
run: echo "$(poetry env info --path)/bin" >> $GITHUB_PATH
- name: 🏃 mypy
run: mypy . --disable-error-code=import-untyped --disable-error-code=import-not-found