Skip to content

Commit

Permalink
Use Ruff for formatting in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Sep 29, 2024
1 parent ad8ad9e commit e6b29a3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CheckPython
name: Python

on: [push, pull_request]

Expand All @@ -7,6 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
- uses: chartboost/ruff-action@v1
with:
args: 'check'
- uses: chartboost/ruff-action@v1
with:
args: 'format --check'
- uses: jakebailey/pyright-action@v2

0 comments on commit e6b29a3

Please sign in to comment.