Skip to content
git-pull-request

GitHub Action

Pylint Annotation Action

1.0.1 Latest version

Pylint Annotation Action

git-pull-request

Pylint Annotation Action

Lint code with Pylint and annotate it in the pull request

Installation

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

              

- name: Pylint Annotation Action

uses: karpikpl/pylint-action@1.0.1

Learn more about this action in karpikpl/pylint-action

Choose a version

Lint Python with Pylint in a Pull Request

GitHub Super-Linter CI

GitHub action that lints files that were changed in a PR and annotates them with pylint comments.

Linting result

Usage

Basic

You need to add permissions for this tool.

permissions:
  contents: read
  checks: write
uses: karpikpl/pylint-action@1.0.1

To specify python version:

uses: karpikpl/pylint-action@1.0.1
with:
  python-version: '3.11'

Inputs

python-version

Optional Version of python to use. Defaults to 3.11.

Outputs

result

The result of the action. Success, Failure or information message. Useful for debugging.

Details

Action internally uses other actions: