added mypy static analyzer action on push

This commit is contained in:
Florian Kaiser
2020-12-31 23:09:03 +01:00
parent e04766d48d
commit 8fb31f86ba

21
.github/workflows/python-mypy.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Mypy
on: [push]
jobs:
build:
runs-on: ubuntu-latest
name: Mypy
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install mypy
- name: mypy
run: |
mypy pydualsense/