Skip to content

Linter

Linter #5

Workflow file for this run

name: Flake8
on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '30 3 * * *'
permissions:
contents: read
jobs:
flake8-lint:
runs-on: ubuntu-latest
name: Flake8 Lint
steps:
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: 'pip'
- name: flake8 Lint
uses: py-actions/flake8@v2.3.0
with:
update-pip: "true"
plugins: "flake8-bugbear flake8-bandit"