Merge pull request #428 from advaithm/mypy-workflow

A example mypy workflow
This commit is contained in:
Anton Hvornum 2021-05-15 12:30:36 +00:00 committed by GitHub
commit 67659b2b38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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