pylint_report.pylint_report.CustomJsonReporter

class pylint_report.pylint_report.CustomJsonReporter(output=None)[source]

Bases: BaseReporter

Customize the default json reporter.

Note

See pylint/reporters/json_reporter.py

Methods

display_messages

See pylint/reporters/base_reporter.py.

display_reports

See pylint/reporters/base_reporter.py.

handle_message

Manage message of different type and in the context of path.

on_close

See pylint/reporters/base_reporter.py.

on_set_current_module

Hook called when a module starts to be analysed.

writeln

Write a line in the output buffer.

Attributes

extension

name

Name of the reporter.

display_messages(layout)[source]

See pylint/reporters/base_reporter.py.

display_reports(layout)[source]

See pylint/reporters/base_reporter.py.

handle_message(msg)[source]

Manage message of different type and in the context of path.

name = 'custom json'

Name of the reporter.

on_close(stats, previous_stats)[source]

See pylint/reporters/base_reporter.py.

on_set_current_module(module: str, filepath: str | None) None

Hook called when a module starts to be analysed.

writeln(string: str = '') None

Write a line in the output buffer.