From df415d0779500958889cd2d429935eb74966265b Mon Sep 17 00:00:00 2001 From: kraanzu Date: Tue, 17 Sep 2024 10:40:45 +0530 Subject: [PATCH] add format checks with ruff --- .github/workflows/ruff.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index 8baa9f5f..2d150671 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -1,4 +1,4 @@ -name: Ruff Check +name: Ruff Checks (lint/format) on: [push, pull_request] @@ -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 .