Skip to content

fix: use op name instead of scope name as key for op schema subscopes… #254

fix: use op name instead of scope name as key for op schema subscopes…

fix: use op name instead of scope name as key for op schema subscopes… #254

Workflow file for this run

# This file is autogenerated by maturin v1.8.1
# To update, run
#
# maturin generate-ci github
#
name: format check
on:
pull_request:
branches: [main]
paths:
- src/**
- python/**
- examples/**
push:
branches: [main]
paths:
- src/**
- python/**
- examples/**
workflow_dispatch:
permissions:
contents: read
jobs:
rust-format-check:
name: Check Rust formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Check Rust formatting
run: |
cargo fmt --check
python-format-check:
name: Check Python formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install Ruff
run: |
pip install ruff
- name: Check Python formatting
run: |
ruff format --check .