Merge pull request #8 from EBjerrum/ruff #8
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: Format Code | |
on: | |
push: | |
branches: | |
- ruff | |
- master | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: pip install ruff | |
- name: Check code with ruff | |
run: ruff check . | |
- name: Format code with ruff | |
run: ruff format . |