From 37457e47d31e4e9de8622f9cbb8b6efd3f2914c1 Mon Sep 17 00:00:00 2001 From: Andrew Wei <32493749+nowei@users.noreply.github.com> Date: Mon, 9 Dec 2024 09:13:56 -0800 Subject: [PATCH] [fix][ci] remove `python/` from changed files that are passed in (#575) --- .github/workflows/qa.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index c1705185..d7003396 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -323,7 +323,8 @@ jobs: if: steps.changed-py-files.outputs.any_changed == 'true' env: CHANGED_PY_FILES: ${{ steps.changed-py-files.outputs.all_changed_files }} - run: poetry run mypy $CHANGED_PY_FILES --ignore-missing-imports + # Remove the python/ that is prepended + run: poetry run mypy ${CHANGED_PY_FILES//python\/} --ignore-missing-imports tflint: name: Lint terraform