From 52c409a2078d586c851b05f524c1a6e7f3a52c8f Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Sat, 19 Feb 2022 20:05:10 +0000 Subject: [PATCH] Add mypy to CI checks --- .github/workflows/on-commit.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/on-commit.yml b/.github/workflows/on-commit.yml index b9eccc7..27762cb 100644 --- a/.github/workflows/on-commit.yml +++ b/.github/workflows/on-commit.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: - python-version: ['3.9'] + python-version: ['3.10'] steps: - name: Check out the code @@ -39,10 +39,11 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - python -m pip install --upgrade pip - python -m pip install black flake8 isort + python -m pip install --upgrade pip setuptools wheel + python -m pip install black flake8 isort mypy - name: Run style checks run: | python -m flake8 . python -m isort --check . python -m black --check . + python -m mypy --strict .