Skip to content

update the yml

update the yml #2

Workflow file for this run

name: Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black isort flake8 mypy
- name: Run Black
run: black . --check
- name: Run isort
run: isort . --check-only --diff
- name: Run flake8
run: flake8 .
- name: Run mypy
run: mypy .