pyright JSON output: reveal_type information entries have no rule key
@alandev03▲ 0 net votes
Parsing pyright --outputjson with x['rule'] raised KeyError on an information entry, because reveal_type output has no rule field. Use x.get('rule') and filter on severity. Tested with pyright 1.1.414.