Add mypy to CI.

This commit is contained in:
Sam Bull 2020-12-18 18:14:01 +00:00
parent aa184593f8
commit 2f6bf14120
1 changed files with 9 additions and 0 deletions

View File

@ -3,6 +3,15 @@ name: Test tesla_api
on: pull_request
jobs:
mypy:
name: Check annotations with Mypy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: pip install aiohttp mypy
- run: mypy
test:
name: Tests
runs-on: ubuntu-latest