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.

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

Uploaded Source

Built Distribution

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

pylint_json2checkstyle-0.0.7-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pylint_json2checkstyle-0.0.7.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.15

File hashes

Hashes for pylint_json2checkstyle-0.0.7.tar.gz
Algorithm Hash digest
SHA256 eb30b066eced7e44dc45d9fd9cc7e35cf58fe24fe612460b1572e2040ffd8447
MD5 299505b7ff23ab9b9ee8df53899fdfd3
BLAKE2b-256 e0d74a9fffb45c014e8000ccc8c6b2bdacba6905ce92012f820bb98a7f9692b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylint_json2checkstyle-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.15

File hashes

Hashes for pylint_json2checkstyle-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4d46af2f43069041a5a79f2682d83b0f8e5bbb772987197078063f8a437c3559
MD5 1f55f702313486c0878de7d4d89285cd
BLAKE2b-256 1aae15251398e3b9aeefe6455221283048949d62beb59a7951da05f3478a4ded

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