From fa48a392770c9093957caa6ee5abe53f019eb256 Mon Sep 17 00:00:00 2001 From: Aditya Gupta Date: Mon, 29 Jun 2026 15:09:59 +0530 Subject: [PATCH] ci: Update pyproject.toml to include ruff --- .github/workflows/lint.yml | 4 ++-- .gitignore | 2 ++ pyproject.toml | 5 +++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8d109eb..84124c0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,7 +20,7 @@ jobs: python-version: "3.14" - name: Run Ruff Check - run: uv run ruff check . + run: uv run --group dev ruff check . - name: Run Ruff Format Check - run: uv run ruff format --check . + run: uv run --group dev ruff format --check . diff --git a/.gitignore b/.gitignore index a2f11a9..063709c 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,8 @@ dist/ wheels/ *.egg-info +.env + # Virtual environments .venv diff --git a/pyproject.toml b/pyproject.toml index 4d91fa4..8eb656e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,3 +22,8 @@ dependencies = [ [tool.pytest.ini_options] pythonpath = ["."] asyncio_mode = "auto" + +[dependency-groups] +dev = [ + "ruff>=0.15.20", +]