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

Function findings_for_rule

tests/unit/test_false_positive_reductions.py:70–71  ·  view source on GitHub ↗
(code: str, rule_id: str, **kwargs)

Source from the content-addressed store, hash-verified

68
69
70def findings_for_rule(code: str, rule_id: str, **kwargs) -> list[dict]:
71 return [f for f in run_pyspector(code, **kwargs) if f["rule_id"] == rule_id]
72
73
74# ===========================================================================

Calls 1

run_pyspectorFunction · 0.70

Tested by

no test coverage detected