an example mypy workflow

This commit is contained in:
advaithm 2021-05-12 16:11:37 +05:30
parent af3d65cc98
commit cee1b732b9
No known key found for this signature in database
GPG Key ID: E557E45E6DAFFC0C
2 changed files with 12 additions and 0 deletions

12
.github/workflows/mypy.yaml vendored Normal file
View File

@ -0,0 +1,12 @@
on: [push, pull_request]
name: Lint Python and Find Syntax Errors
jobs:
lint:
runs-on: ubuntu-latest
container:
image: archlinux:latest
steps:
- uses: actions/checkout@v2
- run: pacman --noconfirm -Syu python python-pip mypy
- name: run mypy
run: mypy . --ignore-missing-imports

0
mypy.ini Normal file
View File