Skip to content

Commit

Permalink
Add Mypy workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
vnmabus committed Jan 17, 2024
1 parent f165a5a commit 8fff3a9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Mypy

on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
name: Mypy
steps:
- uses: actions/checkout@v2
- uses: tsuyoshicho/action-mypy@v3
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
# The action will output fail if there are mypy errors
level: error
setup_command: pip install -r requirements.txt pytest mypy
mypy_flags: ''

0 comments on commit 8fff3a9

Please sign in to comment.