Skip to content

Use python built-ins type hints instead of typing lib #38

Use python built-ins type hints instead of typing lib

Use python built-ins type hints instead of typing lib #38

Workflow file for this run

name: MyPy
on: push
jobs:
mypy:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Checkout
uses: actions/checkout@v1
- name: Install mypy
run: pip install mypy
- name: Install stubs
run: mypy --install-types --non-interactive .
- name: Run mypy
uses: sasanquaneuf/mypy-github-action@releases/v1
with:
checkName: 'mypy' # NOTE: this needs to be the same as the job name
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}