Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

A GitHub Action to run flake8 and annotate lint failures

License

Notifications You must be signed in to change notification settings

multani/flake8-github-action

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

Repository files navigation

flake8 Github Action

This is a Github Action to run flake8 against your repository.

It does fancy things like add annotations to your PRs inline.

image

Use it in your project like:

(in .github/workflows/lint.yml)

name: Lint

on:
  push:
    paths:
      - '*.py'

jobs:
  flake8:
    runs-on: ubuntu-latest

    steps:
      - name: Setup Python
        uses: actions/setup-python@v2
        with:
          python-version: 3.9

      - name: Checkout
        uses: actions/checkout@v2

      - name: Install flake8
        run: pip install flake8

      - name: Run flake8
        uses: multani/flake8-github-action@v1
        with:
          checkName: flake8

About

A GitHub Action to run flake8 and annotate lint failures

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 62.7%
  • TypeScript 37.3%