2023-11-20 11:35:47 +01:00
|
|
|
name: flake8 Lint
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
2024-03-22 18:15:06 +01:00
|
|
|
concurrency:
|
2024-04-04 18:30:53 +02:00
|
|
|
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
|
2024-03-22 18:15:06 +01:00
|
|
|
cancel-in-progress: true
|
|
|
|
|
2023-11-20 11:35:47 +01:00
|
|
|
jobs:
|
|
|
|
flake8-lint:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: Lint
|
|
|
|
steps:
|
|
|
|
- name: Check out source repository
|
2024-04-03 20:01:13 +02:00
|
|
|
uses: actions/checkout@v4
|
2023-11-20 11:35:47 +01:00
|
|
|
- name: Set up Python environment
|
2024-04-03 20:01:13 +02:00
|
|
|
uses: actions/setup-python@v5
|
2023-11-20 11:35:47 +01:00
|
|
|
with:
|
|
|
|
python-version: "3.11"
|
|
|
|
- name: flake8 Lint
|
|
|
|
uses: py-actions/flake8@v2
|
|
|
|
with:
|
2024-05-03 21:36:41 +02:00
|
|
|
plugins: "flake8-no-print"
|