Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ParzivalHack/PySpector
/ fires
Function
fires
tests/unit/test_missing_rules.py:46–47 ·
view source on GitHub ↗
(code, rule_id, **kw)
Source
from the content-addressed store, hash-verified
44
45
46
def
fires(code, rule_id, **kw):
47
return
bool([f
for
f in run_pyspector(code, **kw)
if
f[
"rule_id"
] == rule_id])
48
49
50
def
not_fires(code, rule_id, **kw):
Callers
15
not_fires
Function · 0.70
test_render_template_string_tainted_fires
Method · 0.70
test_fstring_in_text_fires
Method · 0.70
test_percent_format_in_text_fires
Method · 0.70
test_raw_tainted_sql_fires
Method · 0.70
test_order_by_tainted_fires
Method · 0.70
test_jsonpickle_decode_fires
Method · 0.70
test_dill_loads_fires
Method · 0.70
test_verify_false_fires
Method · 0.70
test_disable_warnings_fires
Method · 0.70
test_auto_add_policy_fires
Method · 0.70
test_verify_signature_false_fires
Method · 0.70
Calls
1
run_pyspector
Function · 0.70
Tested by
no test coverage detected