Skip to content

Commit

Permalink
chore: add lint github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rouille committed Dec 11, 2023
1 parent 8fa55c0 commit acb242c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Lint

on:
push:
pull_request:
branches:
- development
- main

jobs:
formatting:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- run: python -m pip install --upgrade ruff
- run: ruff check . --diff
- run: ruff format . --diff

0 comments on commit acb242c

Please sign in to comment.