Skip to content

Refactor/improve notebook presentation #69

Refactor/improve notebook presentation

Refactor/improve notebook presentation #69

Workflow file for this run

name: CI
on: pull_request
jobs:
qa-py:
name: Python QA
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- uses: snok/install-poetry@v1
- name: Install dependencies
run: poetry install
- name: Run Black to check formatting
run: poetry run black --check .
- name: Run isort
run: |
poetry run isort --check .
poetry run nbqa isort --check --float-to-top .
- name: Run flake8
run: |
poetry run flake8 .
poetry run nbqa flake8 .
- name: Run nb-clean to check for unnecessary metadata and empty cells in notebooks
run: poetry run nb-clean check . --preserve-cell-outputs --remove-empty-cells
- name: Run notebooks to see if they execute without errors
run: poetry run poe nbrun