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 hashes)
Built Distribution
Close
Hashes for pylint_actions-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3ce0560962a07637b8371d652b76ae913a99e39971e553c0ca08aedf8ddccc6 |
|
MD5 | 9e8b970ae4aa680c65296d831667559c |
|
BLAKE2b-256 | 3806e593bf3d73444e35fc26b91d1ff7bffc048742191c0c3c87d500b967ae75 |