Skip to content

Commit

Permalink
add format checks with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
kraanzu committed Sep 17, 2024
1 parent 4d64605 commit df415d0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Ruff Check
name: Ruff Checks (lint/format)

on: [push, pull_request]

Expand All @@ -18,6 +18,9 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Analysing the code with ruff
- name: Lint Check
run: |
ruff check .
- name: Format Check
run: |
ruff format --check .

0 comments on commit df415d0

Please sign in to comment.