Skip to content

pr-annotators/pylint-pr-annotator

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

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pylint PR Annotator

Usage

Annotate pull requests with pylint errors detected during CI.

Note: This doesn't install or run pylint, it just sets up the PR annotations.

Example workflow

name: My Workflow
on: [push, pull_request]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master

      - name: Set up Python 3.8
        uses: actions/setup-python@v2
        with:
          python-version: "3.8"
        
      - name: Install pylint
        run: |
          pip install pylint

      - name: Add pylint annotator
        uses: jpy-git/pylint-pr-annotator@master

      - name: Run pylint
        run: |
          pylint src/