[All] Replace Black & Isort with Ruff (config files + reformatting). #1
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 | ||
| on: | ||
| push: | ||
| pull_request: | ||
| workflow_dispatch: | ||
| jobs: | ||
| ruff: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
| - name: Set up Ruff | ||
| uses: astral-sh/ruff-action@v3 | ||
| - name: Run Ruff format | ||
| run: ruff format | ||
| - name: Run Ruff check | ||
| run: ruff check --fix --unsafe-fixes | ||