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 <