papermario/tools/splat/.github/workflows/mypy.yml

27 lines
524 B
YAML
Raw Normal View History

name: mypy
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
mypy:
runs-on: ubuntu-latest
name: mypy
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install Dependencies
run: |
pip install mypy
pip install -r requirements.txt
pip install types-PyYAML
- name: mypy
run: |
mypy --show-column-numbers --hide-error-context .