feat(api): rename add_flow_def()
to open_flow()
(#830)
#250
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 . |