lint.yml 352 B

12345678910111213141516171819202122
  1. name: Lint
  2. on: [push, pull_request]
  3. jobs:
  4. flake8:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v2
  8. - name: Set up Python
  9. uses: actions/setup-python@v2
  10. with:
  11. python-version: '3.x'
  12. - name: Install dependencies
  13. run: |
  14. pip install flake8
  15. - name: Lint with flake8
  16. run: flake8