Skip to content

Format notebooks and proto #49

Format notebooks and proto

Format notebooks and proto #49

# This workflow will install dependencies, create coverage tests and run Pytest Coverage Comment
# For more information see: https://github.com/MishaKav/pytest-coverage-comment/
name: Check notebooks formatting
on:
pull_request:
branches:
- main
types: [synchronize, opened]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black "black[jupyter]"
- name: Check notebook formatting
run: |
black --check notebooks/*.ipynb