Skip to content

Fix typing errors & introduce mypy as a required CI step (#501) #4

Fix typing errors & introduce mypy as a required CI step (#501)

Fix typing errors & introduce mypy as a required CI step (#501) #4

Workflow file for this run

name: Lint
on:
push:
paths:
- '*.py'
jobs:
mypy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- name: Install pipenv
run: python -m pip install --upgrade pipenv wheel
# TODO: add caching of Pipfile.lock
- name: Install dependencies
run: pipenv install --dev --deploy
- name: Run mypy
run: pipenv run mypy .