Skip to content

Add mypy to the workflow file #164

Add mypy to the workflow file

Add mypy to the workflow file #164

Workflow file for this run

name: pre-commit
on: [push, pull_request]
jobs:
run-all-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install pre-commit
run: |
pip install pre-commit
pip install mypy
pre-commit install
- name: Run pre-commit
run: |
pre-commit run --all-files