Skip to main content

A Pylint plugin and command line tool to produce Pylint reports in checkstyle format.

Project description

pylint-json2checkstyle

A Pylint plugin and command line tool to produce Pylint reports in checkstyle format.

This project is partially inspired from the pylint-json2html project.

GitHub license GitHub-Actions pyversion pypi

Usage:

As a command line tool

usage: pylint-json2checkstyle [-h] [-o checkstyle_output_file] [json_input_file]

Convert pylint json report to checkstyle

positional arguments:
  json_input_file       Pylint JSON report input file (or stdin)

optional arguments:
  -h, --help            show this help message and exit
  -o checkstyle_output_file, --output checkstyle_output_file
                        Checkstyle report output file (or stdout)

As a Pylint plugin:

pylint --load-plugins=pylint_json2checkstyle.checkstyle_reporter --output-format=checkstyle [pylint arguments ... ]

Why?

Checkstyle is a widely supported report format for code issues, with integrations available in CI environments.

For example, the Checkstyle GitHub Action reads a checkstyle report and adds annotations to PRs.

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_json2checkstyle-0.0.13.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

pylint_json2checkstyle-0.0.13-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file pylint_json2checkstyle-0.0.13.tar.gz.

File metadata

File hashes

Hashes for pylint_json2checkstyle-0.0.13.tar.gz
Algorithm Hash digest
SHA256 e0fa7ee34bb9fb9e6b3ca6abe1fb095de93a6beff74f0a6ec65ac72abae286d5
MD5 ef317459ba901561965e26ae83f629f0
BLAKE2b-256 6aff523122e006d74a8e3b7aef652ab0b4906ca56614c81b3df0df3747c56831

See more details on using hashes here.

File details

Details for the file pylint_json2checkstyle-0.0.13-py3-none-any.whl.

File metadata

File hashes

Hashes for pylint_json2checkstyle-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 b5f4e21027d2921af0f8debe3cb11b21b2c66f68a06b7677100fe8ece6ccc68b
MD5 51d0785da38b1aefbd8b3e8b231b3345
BLAKE2b-256 9c60aa29133acf49220d02d1a33f3b21c77bfcca507ac2ab934149dc1824e6d5

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