python-lint.yml 561 B

1234567891011121314151617181920212223
  1. name: flake8 Lint
  2. on: [push, pull_request]
  3. concurrency:
  4. group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
  5. cancel-in-progress: true
  6. jobs:
  7. flake8-lint:
  8. runs-on: ubuntu-latest
  9. name: Lint
  10. steps:
  11. - name: Check out source repository
  12. uses: actions/checkout@v4
  13. - name: Set up Python environment
  14. uses: actions/setup-python@v5
  15. with:
  16. python-version: "3.11"
  17. - name: flake8 Lint
  18. uses: py-actions/flake8@v2
  19. with:
  20. plugins: "flake8-no-print"