mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-10-18 04:29:27 +00:00
feat(pre-push-safety-net): retain bounded change and rename context
This commit is contained in:
@@ -122,7 +122,10 @@ def _case(
|
||||
and record.get("coverage") == "complete"
|
||||
)
|
||||
negative = any(
|
||||
q.get("status") == "answered" and q.get("outcome") == "negative" and q.get("target") == target and isinstance(q.get("witness"), str)
|
||||
q.get("status") == "answered"
|
||||
and q.get("outcome") == "negative"
|
||||
and q.get("target") == target
|
||||
and isinstance(q.get("witness"), str)
|
||||
and bool(q["witness"].strip())
|
||||
for q in queries.values()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user