From 0050e51ae88a2f34d5892dc16a40b0bdf2c80342 Mon Sep 17 00:00:00 2001 From: Steven K Date: Thu, 28 Dec 2023 15:36:32 -0700 Subject: [PATCH] Update Bandit and Bumper configurations This commit refines the Bandit and Bumper tool configurations in the "pyproject.toml" file, moving specific settings for each tool into the respective tool sections. In the 'Bandit' section, the targets, exclusion directories, and skipped tests are specified. In the 'Bumper' section, the exclusion files, version files, repository, and report are clearly stated. Made corresponding changes to the GitHub workflow file, replacing hardcoded options with the settings defined in "pyproject.toml". Signed-off-by: Steven K --- .github/workflows/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6de23a8..f574e72 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -155,7 +155,6 @@ jobs: GOOGLE_MAPS_CLIENT_ID: ${{ secrets.GOOGLE_MAPS_CLIENT_ID }} GOOGLE_MAPS_API_KEY: ${{ secrets.GOOGLE_MAPS_API_KEY }} run: export PYTHONPATH=`pwd` && coverage run - - name: "Upload Coverage Results for PY:${{ matrix.python-version }} DB:${{ matrix.db}} DJ:${{ matrix.django-version }}" uses: actions/upload-artifact@v3 with: @@ -164,8 +163,7 @@ jobs: retention-days: 1 - name: Django Check - run: | - python demo_app/manage.py check + run: python demo_app/manage.py check coverage: name: Upload Coverage to Codecov