Using GitHub Actions, how do you store flake8 exit code as a variable instead of failing the workflow?

Advertisements I have a GitHub Action workflow file that is doing multiple linting checks. flake8 is the first linting check and if it fails the entire workflow fails meaning the subsequent linting checks are name: lint on: push: pull_request: jobs: build: runs-on: ubuntu-latest steps: – uses: actions/checkout@main with: ref: ${{ github.head_ref }} – name: python… Read More Using GitHub Actions, how do you store flake8 exit code as a variable instead of failing the workflow?

flake8 fails in tox testing environment

Advertisements Below is the failure message on running tox. I don’t see this exact error reported on any forum. Any guidance here would be of great help. I’m invoking the tox in 3.8-slim-buster docker container & installed the required dependencies – pip install tox flake8 black pylint Error: File ".tox/lint/lib/python3.6/site-packages/hacking/core.py", line 185 except ImportError, exc:… Read More flake8 fails in tox testing environment