Skip to content

GitHub action for flake8 with support for plugins.

License

Notifications You must be signed in to change notification settings

wzykubek/action-flake8

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.