Skip to content

Commit

Permalink
Run mypy in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
SethMMorton committed Oct 29, 2021
1 parent 49e6d7f commit 13ef04c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,24 @@ jobs:
- name: Run Flake8
run: flake8

type-checking:
name: Type Checking
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.6'

- name: Install MyPy
run: pip install mypy hypothesis pytest pytest-mock

- name: Run MyPy
run: mypy --strict natsort tests

package-validation:
name: Package Validation
runs-on: ubuntu-latest
Expand Down

0 comments on commit 13ef04c

Please sign in to comment.