Skip to content

Commit

Permalink
Add Ruff linting workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacbmiller committed Mar 3, 2024
1 parent 16fdf50 commit cce629e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ruff_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Lint and Commit

on:
push:
branches:
- main
pull_request:

env:
POETRY_VERSION: "1.6.1"

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
- run: pip install ruff
- run: |
ruff check .
ruff fix .
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'Style fixes by Ruff'

0 comments on commit cce629e

Please sign in to comment.