Skip to main content

Pylint plugin for GitHub Actions

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylint_actions-0.3.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylint_actions-0.3.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file pylint_actions-0.3.1.tar.gz.

File metadata

  • Download URL: pylint_actions-0.3.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.2 Linux/5.15.0-1034-azure

File hashes

Hashes for pylint_actions-0.3.1.tar.gz
Algorithm Hash digest
SHA256 4e18536a9de5cea258df8dfbfe919549f42bfbd84456028822eb83410c84bed4
MD5 9109fbf095c0ede4ef38dc9147bdea8f
BLAKE2b-256 e3258d89b878408da159d9191d78c50a404877b40cffaaa17485f0a332e5e4cc

See more details on using hashes here.

File details

Details for the file pylint_actions-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: pylint_actions-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.2 Linux/5.15.0-1034-azure

File hashes

Hashes for pylint_actions-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e3ce0560962a07637b8371d652b76ae913a99e39971e553c0ca08aedf8ddccc6
MD5 9e8b970ae4aa680c65296d831667559c
BLAKE2b-256 3806e593bf3d73444e35fc26b91d1ff7bffc048742191c0c3c87d500b967ae75

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page