From 85d09edb2a831a6f871df9c75d23cfb6a448f87a Mon Sep 17 00:00:00 2001 From: Athanasius Date: Sun, 26 Jul 2020 20:45:08 +0100 Subject: [PATCH] Try A_D's "diff only" flake8 checking --- .github/workflows/python-app.yml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index ae0746d3..dd8d38e9 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -26,8 +26,25 @@ jobs: pip install flake8 pytest if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi - name: Lint with flake8 + env: + ROOT_SHA: ${{github.base_ref}} + run: | - # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + DATA=$(python3 <