Use Ruff instead #11
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: Python Ruff Lint and commit | |
on: | |
push: | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
- name: Install Ruff | |
run: pip install ruff | |
- name: Ruff check and fix | |
- run: | | |
ruff check . | |
ruff fix . | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: 'Python style fixes from Ruff' |