Skip to content

DM-44751: Add mypy check as required GHA before merging #14

DM-44751: Add mypy check as required GHA before merging

DM-44751: Add mypy check as required GHA before merging #14

Workflow file for this run

name: Mypy Type Check
on: pull_request
jobs:
mypy:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install mypy
run: |
python -m pip install --upgrade pip
pip install mypy==1.7.1 pydantic numpy
- name: Run mypy
run: mypy . --config-file mypy.ini