Update README.md #28
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: Ruff | |
on: [push, pull_request] | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- name: Run Ruff with auto-fix | |
uses: chartboost/ruff-action@v1 | |
with: | |
args: --fix # Automatically apply safe fixes | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: 'style fixes by ruff' | |
file_pattern: '*.py' # Ensure only Python files are committed |