Skip to content

Pylint plugin to support GitHub Actions annotations

License

Notifications You must be signed in to change notification settings

EliahKagan/pylint-actions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pylint plugin for GitHub Actions annotations

This is a plugin for Pylint that allows it to output annotations in the format that GitHub Actions understands. See annotations from examples workflows. Also these annotations will be displayed in your pull requests changes

Installation

So simple:

pip install pylint-actions

Usage

Add the following to your pyproject.toml file:

[tool.pylint.main]
load-plugins = "pylint_actions"

Or load the plugin with any available pylint configuration variants except command line arguments.

Next, run pylint with the --output-format=actions option, or shorted -f actions.

In your GitHub Actions workflow, use it like this:

- name: Run pylint
  run: poetry run pylint -f actions src

About

Pylint plugin to support GitHub Actions annotations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%