{rnicolescu} ruff formatting #18
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: PR Pre Checks | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - mainline | |
| jobs: | |
| pre-commit-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Create Python Venv | |
| uses: actions/prepare-venv@v1 | |
| - name: Install Python deps | |
| run: | | |
| python -m pip install -e ".[dev]" | |
| python -m pip list | |
| - name: Lint | |
| run: | | |
| pre-commit install | |
| pre-commit run --all-files --verbose |