Skip to content

Commit

Permalink
workflow: update ruff workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kraanzu committed Oct 1, 2024
1 parent 4587623 commit 9f27226
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Ruff
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 $(git ls-files '*.py')
ruff check .
- name: Format Check
run: |
ruff format --check .

0 comments on commit 9f27226

Please sign in to comment.