Skip to content

fix CI pipeline

fix CI pipeline #13

name: "Ruff/Black"
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
formatting:
name: Code formatting
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Code formatting
uses: chartboost/ruff-action@v1
with:
args: "check --preview"
- name: Notebook formatting
uses: psf/black@stable
with:
src: "docs/notebooks/"
jupyter: true