Add MyPy to CI

This commit is contained in:
Marks Polakovs 2023-03-11 12:40:24 +00:00
parent 0d953961ef
commit ada88ba73e

View file

@ -47,3 +47,16 @@ jobs:
# Prettier
- name: Prettier
run: node_modules/.bin/prettier -c 'src/**/*.{js,ts,tsx,css,scss}'
python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: poetry
- run: poetry install --with=dev
- name: MyPy checks
run: poetry run mypy *.py