Skip to content

Release 11/27/24

Release 11/27/24 #4473

name: Test - mitosheet mypy
on:
push:
branches: [ dev ]
paths:
- 'mitosheet/**'
pull_request:
paths:
- 'mitosheet/**'
jobs:
test-mitosheet-mypy:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.8]
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.7.0
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: mitosheet/setup.py
- name: Install dependencies
run: |
cd mitosheet
pip install -e ".[test]"
- name: Check types with MyPY
run: |
mypy mitosheet/mitosheet/ --ignore-missing-imports --disallow-untyped-calls --disallow-incomplete-defs --no-implicit-optional
mypy mitosheet/dev/ --ignore-missing-imports --disallow-untyped-calls --disallow-incomplete-defs --no-implicit-optional
mypy mitoinstaller/mitoinstaller/ --ignore-missing-imports --disallow-untyped-calls --disallow-incomplete-defs --no-implicit-optional
mypy deployment/bump_version.py deployment/deploy.py --ignore-missing-imports --disallow-untyped-calls --disallow-incomplete-defs --no-implicit-optional