Skip to content

Version 1.0.0

Version 1.0.0 #417

Workflow file for this run

name: Formatting
on:
push:
branches:
- "main"
- "dev/[0-9]+.[0-9]+.[0-9]+"
pull_request:
branches:
- "main"
- "dev/[0-9]+.[0-9]+.[0-9]+"
workflow_dispatch: {}
permissions:
contents: read
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python and Upgrade pip
uses: ./.github/actions/setup_python
with:
python-version: "3.11"
- name: Install black
run: |
python -m pip install $(grep black requirements_dev.txt | xargs)
python -m pip install black[jupyter]
- name: Format with black
run: |
python -m black . --diff --check