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.5.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

pylint_actions-0.5.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pylint_actions-0.5.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Linux/6.2.0-1018-azure

File hashes

Hashes for pylint_actions-0.5.0.tar.gz
Algorithm Hash digest
SHA256 0ed9c6959226a335a6d0ae85943649f0ab88f6bfd3d3ee75b4fd85eac884f1d3
MD5 a2a8bac54e38b346cb5b6837486fefdc
BLAKE2b-256 189b5760b3076b91ea2d9926cf78b10c586f15eefdf7ccbb009b2ec31af9aa59

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylint_actions-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Linux/6.2.0-1018-azure

File hashes

Hashes for pylint_actions-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a9922ae55c9afb56f602ef2434a6ea984c16504a159d6e4c439e71d325a0bfb
MD5 6d947a36c289b75a054398a190e6ece8
BLAKE2b-256 8cd16c93ae88bf4d2cfb210ffa5b8dd96dc765fd32f510a0956656632bea8106

See more details on using hashes here.

Supported by

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