Repository navigation
feat(NII): split a label at a cumulative-volume fraction or at its center of mass #562
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: ruff linter | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| permissions: | |
| contents: write | |
| jobs: | |
| ruff: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| - uses: actions/setup-python@v5 | |
| - run: pip install ruff | |
| - name: Apply ruff auto-fixes | |
| run: | | |
| ruff check . --fix | |
| ruff format . | |
| - name: Commit auto-fixes | |
| uses: stefanzweifel/git-auto-commit-action@v5 | |
| with: | |
| commit_message: 'style fixes by ruff' | |
| - name: Gate on remaining lint errors | |
| run: ruff check . |