From dcf8c4a62cb3bd5605cd7ff525cf7905452439c3 Mon Sep 17 00:00:00 2001 From: Andrew <91550638+andewmark@users.noreply.github.com> Date: Sun, 2 Feb 2025 13:06:35 -0500 Subject: [PATCH 1/2] Update pylint.yml --- .github/workflows/pylint.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index c73e032..ab8cd21 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -14,10 +14,10 @@ jobs: uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - - name: Install dependencies + - name: Create virtual environment and Install dependencies run: | - python -m pip install --upgrade pip - pip install pylint + chmod +x setup.sh + ./setup.sh - name: Analysing the code with pylint run: | pylint $(git ls-files '*.py') From a877451ff4b47cad10e12538b7ba538005d46835 Mon Sep 17 00:00:00 2001 From: Andrew <91550638+andewmark@users.noreply.github.com> Date: Sun, 2 Feb 2025 13:11:26 -0500 Subject: [PATCH 2/2] Update pylint.yml --- .github/workflows/pylint.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index ab8cd21..5747747 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -20,4 +20,5 @@ jobs: ./setup.sh - name: Analysing the code with pylint run: | + source .virtualenv/bin/activate pylint $(git ls-files '*.py')