From b74549495a4215f45cbbc096698cadc1a3f37880 Mon Sep 17 00:00:00 2001 From: Shettland Date: Thu, 6 Jun 2024 13:51:42 +0200 Subject: [PATCH] Updated diff-file checker version --- .github/workflows/python_lint.yml | 7 +++---- bu_isciii/scratch.py | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python_lint.yml b/.github/workflows/python_lint.yml index f3bdcd22..b373db7a 100644 --- a/.github/workflows/python_lint.yml +++ b/.github/workflows/python_lint.yml @@ -24,7 +24,7 @@ jobs: run: pip install flake8 - name: Check for Python file changes id: file_check - uses: tj-actions/changed-files@v33 + uses: tj-actions/changed-files@v44 with: sha: ${{ github.event.pull_request.head.sha }} files: | @@ -47,11 +47,10 @@ jobs: run: pip install black[jupyter] - name: Check for Python file changes id: file_check - uses: tj-actions/changed-files@v34 + uses: tj-actions/changed-files@v44 with: sha: ${{ github.event.pull_request.head.sha }} - files: | - **.py + files: '**.py' - name: Check code lints with Black if: steps.file_check.outputs.any_changed == 'true' uses: psf/black@stable diff --git a/bu_isciii/scratch.py b/bu_isciii/scratch.py index d6a420e1..9f2a9984 100755 --- a/bu_isciii/scratch.py +++ b/bu_isciii/scratch.py @@ -201,7 +201,7 @@ def revert_copy_scratch(self): except Exception as e: stderr.print(e) stderr.print( - "[red]ERROR: Copy of the directory %s failed" + "[red]ERROR: Copy of directory %s failed" % self.scratch_tmp_path, highlight=False, )