Buffer nits #1129
This file contains 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
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 |