Skip to content

WaterBridge interaction #38

WaterBridge interaction

WaterBridge interaction #38

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: astral-sh/ruff-action@v2
with:
args: "format --diff"
- name: Notebook formatting
uses: psf/black@stable
with:
src: "docs/notebooks/"
jupyter: true
- name: Code linting
uses: astral-sh/ruff-action@v2
with:
args: "check --preview --diff"