Skip to content
check

GitHub Action

flake8 (plugins support)

v2 Latest version

flake8 (plugins support)

check

flake8 (plugins support)

Run flake8 with optional plugins

Installation

Copy and paste the following snippet into your .yml file.

              

- name: flake8 (plugins support)

uses: wzykubek/action-flake8@v2

Learn more about this action in wzykubek/action-flake8

Choose a version

GitHub Action for flake8

Example config

# .github/workflows/lint.yml

name: Lint

on: [push, pull_request]

jobs:
  flake8:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: samedamci/action-flake8@v2
        with:
          plugins: "flake8-bugbear"

Inputs (with block)

  • options - Options passed to flake8. Use flake8 --help to print available.
  • src - File or directory to run flake8 on.
  • plugins - List of flake8 plugins to use.