From 236f1fb0b9a7a71a2093ea8ae7a4d5503e7dce29 Mon Sep 17 00:00:00 2001 From: Rishi Pradeep Date: Sat, 4 Oct 2025 04:45:46 +0530 Subject: [PATCH 1/2] Add lint check --- .github/workflows/lint.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..85e268a --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,22 @@ + +name: Lint + +on: [pull_request] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Run isort + run: isort --check . + - name: Run black + run: black --check . From c275a92c4b9703f7b083179da7954f6c3baddcf5 Mon Sep 17 00:00:00 2001 From: Rishi Pradeep Date: Sat, 4 Oct 2025 04:54:54 +0530 Subject: [PATCH 2/2] Add isort and black to requirements.txt --- requirements.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/requirements.txt b/requirements.txt index 4c1cdff..1c4a29e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,3 +4,8 @@ sqlalchemy jinja2sql pydantic openai + +# Development dependencies +isort +black +