added mypy static analyzer action on push
This commit is contained in:
21
.github/workflows/python-mypy.yml
vendored
Normal file
21
.github/workflows/python-mypy.yml
vendored
Normal 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/
|
Reference in New Issue
Block a user