QuickstartΒΆ
Place the following in .pylintrc
[MASTER]
load-plugins=pylint_report
[REPORTS]
output-format=pylint_report.CustomJsonReporter
or 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