MCPcopy Create free account
hub / github.com/ParzivalHack/PySpector / _PyHandler

Class _PyHandler

src/pyspector/cli.py:1098–1111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1096 if not appeared and not resolved:
1097 click.echo(" No change in findings.")
1098 else:
1099 for iss in appeared:
1100 click.echo(_fmt_watch_issue(iss, "NEW", "red"))
1101 for iss in resolved:
1102 click.echo(_fmt_watch_issue(iss, "RESOLVED", "green"))
1103
1104 n_new = len(appeared)
1105 n_res = len(resolved)
1106 total = len(new_issues)
1107 click.echo(_DIVIDER)
1108 click.echo(
1109 f" {click.style(f'Active: {total}', bold=True)}"
1110 f" · +{n_new} new"
1111 f" · -{n_res} resolved\n"
1112 )
1113
1114 _state["prev_fps"] = new_fps

Callers 1

watch_commandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected