Fix: Passing sensor_t into sensor_from_rig #139
Workflow file for this run
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
| name: Format and Lint Checks | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '*.py' | |
| pull_request: | |
| types: [ assigned, opened, synchronize, reopened ] | |
| jobs: | |
| check: | |
| name: Format and Lint Checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.10' | |
| cache: 'pip' | |
| - name: Check code format | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install ruff==0.12.7 | |
| bash ./format.sh | |
| git diff --name-only | |
| git diff --exit-code || (echo "Code formatting failed" && exit 1) |