From 91851a2af2f7469f76c83eb41ad955d437372a5f Mon Sep 17 00:00:00 2001 From: Daniel McCormack <52194107+demccormack@users.noreply.github.com> Date: Sun, 15 Oct 2023 00:35:52 +1300 Subject: [PATCH] Lint and format in correct directory --- .github/workflows/backend.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 029ee49..e1fdac8 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -28,7 +28,9 @@ jobs: echo "$DIR_LIST" | grep '{"name":"backend","type":"directory","url":"/backend"}' - name: Lint run: | + cd backend pylint $(git ls-files '*.py') - name: Format run: | + cd backend black . --check