Skip to content

Commit

Permalink
ci: Add format check workflow
Browse files Browse the repository at this point in the history
Add a CI workflow to report formatting issues on changed files. This is
to gradually update files in the repository to be conform with PEP8
formatting.

Signed-off-by: Pieter De Gendt <[email protected]>
  • Loading branch information
pdgendt committed Nov 4, 2024
1 parent 5341912 commit e75081d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Format check

on: [push, pull_request]

jobs:
check:
name: Format check
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: astral-sh/ruff-action@v1
continue-on-error: true
with:
args: "format --check"
changed-files: "true"

0 comments on commit e75081d

Please sign in to comment.