Skip to content

add readthedocs config #71

add readthedocs config

add readthedocs config #71

Workflow file for this run

name: lint
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install isort black flake8
pip install -r requirements/requirements-dev.txt
- name: Check code format and style
run: |
isort **/*.py -c -v
black --check colordetect/ tests/
flake8 colordetect/ tests/