This is an automated email from the ASF dual-hosted git repository.

gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 02b5a73  Fix the lint action.
02b5a73 is described below

commit 02b5a73157033e8e176f3e6e72e06395b1b3c5b4
Author: Greg Stein <[email protected]>
AuthorDate: Tue Sep 30 14:31:29 2025 -0500

    Fix the lint action.
    
    - correct some paths
    - run lint with the poetry venv
    - point to the correct rcfile
---
 .github/workflows/linting.yml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml
index 0a13697..bfadc37 100644
--- a/.github/workflows/linting.yml
+++ b/.github/workflows/linting.yml
@@ -6,7 +6,7 @@ on:
       - 'v3/**/*.py'
       - '**/linting.yml'
       - 'pylintrc'
-      - 'v3/requirements.txt'
+      - 'v3/pyproject.toml'
 
   pull_request:
 
@@ -31,10 +31,14 @@ jobs:
       uses: actions/setup-python@v5
       with:
         python-version: ${{ matrix.python-version }}
-    - name: Install dependencies
+    - name: Install Poetry
       run: |
         python -m pip install poetry
+    - name: Install dependencies
+      working-directory: v3  # Set the working directory to v3 where 
pyproject.toml is located
+      run: |
         poetry install
     - name: Testing with pylint
+      working-directory: v3  # Ensure pylint runs in the correct directory
       run: |
-        pylint v3
+        poetry run pylint . --rcfile=../pylintrc  # Run within the poetry venv

Reply via email to