Skip to content

Notifications

Notifications #1034

Workflow file for this run

name: formatting
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.12
uses: actions/setup-python@v1
with:
python-version: 3.12
- name: Install dependencies
run: |
pip install uv
uv pip install --system -e ".[dev,examples]"
- name: Run Ruff
run: ruff check docs/ src/ examples/
- name: Run Ruff format
run: ruff format docs/ src/ examples/ --check