Skip to content

Commit

Permalink
Enable mypy lint in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Feb 22, 2024
1 parent ad89881 commit 5849052
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,21 @@ jobs:
with:
version: ${{ steps.version.outputs.version }}
args: format --diff

mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: pip

- name: Install dependencies
run: pip install -r requirements-txt.txt

# Allow untyped calls for older Python versions
- name: Run mypy
run: mypy

0 comments on commit 5849052

Please sign in to comment.