Generates an HTML report summarizing the results of pylint (see documentation).
The recommended way to install pylint-report is using
pip install pylint-reportor, for a development version (with all optional dependencies):
pip install pylint-report[dev]Place the following in .pylintrc
[MASTER]
load-plugins=pylint_report
[REPORTS]
output-format=pylint_report.CustomJsonReporteror place the following in pyproject.toml
[tool.pylint.MASTER]
load-plugins = "pylint_report"
[tool.pylint.REPORTS]
output-format = "pylint_report.CustomJsonReporter"or manually pass the --load-plugins and --output-format flags.
- A two-step approach:
pylint path/to/code > report.json: generate a (custom)jsonfile usingpylintpylint_report.py report.json -o report.html: generate html report
- Or alternatively
pylint path/to/code | pylint_report > report.html