Skip to content

lint: isort and black disagree #72

lint: isort and black disagree

lint: isort and black disagree #72

Workflow file for this run

name: lint
on: push
jobs:
black:
name: Lint (black)
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- name: Checkout code
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 -r requirements.dev.txt
if [ -f requirements.txt ]; then
pip install -r requirements.txt
else
pip install -e .
fi
- name: Lint with black
run: black --check .