Skip to content

Commit

Permalink
Add mypy check
Browse files Browse the repository at this point in the history
  • Loading branch information
rlskoeser committed Apr 25, 2024
1 parent 3a332e1 commit 0f4d2b4
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: style + docs check
name: style|docs|types

on:
pull_request:
Expand All @@ -12,9 +12,9 @@ jobs:
working-directory: .

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: 'pip'
Expand All @@ -26,3 +26,8 @@ jobs:
run: black src --check --diff
- name: Check that documentation can be built
run: tox -e docs
- name: Check python types with mypy
run: |
pip install mypy
mypy --install-types
mypy src/

0 comments on commit 0f4d2b4

Please sign in to comment.