From ca7d95b52e01760ac9341a3d32a9b5cbe2281e77 Mon Sep 17 00:00:00 2001 From: himanshu0o7 Date: Sat, 19 Jul 2025 19:41:55 +0530 Subject: [PATCH 1/2] Create pylint.yml --- .github/workflows/pylint.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .github/workflows/pylint.yml diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml new file mode 100644 index 000000000..57a97427a --- /dev/null +++ b/.github/workflows/pylint.yml @@ -0,0 +1,5 @@ +steps: + - name: Install dependencies + run: | + pip install -r requirements.txt + pip install pyotp python-dotenv SmartApi From 02f768853f066101c058044e98be912dc3d2255a Mon Sep 17 00:00:00 2001 From: himanshu0o7 Date: Sat, 19 Jul 2025 19:43:39 +0530 Subject: [PATCH 2/2] Update .github/workflows/pylint.yml ok Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/pylint.yml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 57a97427a..a65c5901f 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -1,5 +1,19 @@ -steps: - - name: Install dependencies - run: | - pip install -r requirements.txt - pip install pyotp python-dotenv SmartApi +name: Run Pylint + +on: + push: + branches: + - main + pull_request: + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Install dependencies + run: | + pip install -r requirements.txt + pip install pyotp python-dotenv SmartApi