Skip to content

Feat: mypy ci

Feat: mypy ci #5

Workflow file for this run

name: MyPy
on:
push:
branches:
- feat/mypy-ci # TODO: remove.
- master
pull_request:
branches:
- feat/mypy-ci # TODO: remove.
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install dependencies
run: |
pip install -r backend/requirements-test.txt
- name: Run MyPy
run: |
python -m mypy --strict backend
# python -m mypy --strict frontend # TODO.
# python -m mypy --strict evaluation # TODO.