Skip to content

no more isort

no more isort #396

Workflow file for this run

# inspired by exoplanet-dev/exoplanet:
# https://github.com/exoplanet-dev/exoplanet/blob/master/.github/workflows/style.yml
name: Style
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -U black isort black_nbconvert
- name: Check the style
run: |
black --check src --exclude "__init__.py"
black_nbconvert --check .