1
0

flake8.yaml 463 B

123456789101112131415161718192021
  1. name: flake8 lint
  2. on:
  3. push:
  4. pull_request:
  5. jobs:
  6. flake8-lint:
  7. runs-on: ubuntu-20.04
  8. name: flake8 lint
  9. steps:
  10. - name: Setup python for flake8
  11. uses: actions/setup-python@v4
  12. with:
  13. python-version: "3.8"
  14. - uses: actions/checkout@v3
  15. - name: Install tox
  16. run: python -m pip install tox
  17. - name: Setup flake8
  18. run: tox --notest -e flake8
  19. - name: Run flake8
  20. run: tox -e flake8