flakeheaven.formatters._json¶
- class flakeheaven.formatters._json.JSONFormatter(options: argparse.Namespace)[source]¶
Bases:
flake8.formatting.base.BaseFormatter
Initialize with the options parsed from config and cli.
This also calls a hook,
after_init()
, so subclasses do not need to call super to call this method.- Parameters
options (
argparse.Namespace
) – User specified configuration parsed from both configuration files and the command-line interface.