Skip to content

Flake8

Flake8 #64

Workflow file for this run

name: Flake8
'on':
workflow_dispatch:
inputs:
extra_resolve_options:
description: Extra Resolve Options
required: false
schedule:
- cron: 0 1 * * *
push:
branches:
- master
pull_request:
jobs:
flake8:
name: Flake8 Syntax Check
runs-on:
- self-hosted
- docker
container:
image: python:3.9.5
options: --user 0:0
volumes:
- /home/buildbot/.ssh:/root/.ssh
steps:
- name: Install SSH client
run: apt update && apt -y install openssh-client
- name: Checkout source code
uses: actions/checkout@v2
- name: Create flake file
run: echo "[flake8]\n\nignore = F632" >> .flake8
- name: Check python syntax
uses: cclauss/Find-Python-syntax-errors-action@master
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true