Skip to content

readthedocs: Fix build by install requirements_dev.txt #334

readthedocs: Fix build by install requirements_dev.txt

readthedocs: Fix build by install requirements_dev.txt #334

Workflow file for this run

name: Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: 3.8
architecture: x64
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements_dev.txt') }}-${{ matrix.python-version }}
restore-keys: |
${{ runner.os }}-pip-
- run: pip install --upgrade -r requirements_dev.txt
- run: black --check *.py */
- run: isort --check-only *.py */
- run: flake8