mirror of
https://github.com/usestrix/strix.git
synced 2026-10-12 03:47:56 +00:00
chore: fix the ruff and bandit failures on main
This commit is contained in:
parent
52ba4ab266
commit
0a6818f243
2 changed files with 2 additions and 2 deletions
|
|
@ -602,7 +602,7 @@ async def run_strix_scan(
|
|||
)
|
||||
if not interactive and result is not None:
|
||||
final = getattr(result, "final_output", None)
|
||||
# Lifecycle tools mark the root completed.
|
||||
# Lifecycle tools mark the root completed.
|
||||
async with coordinator._lock:
|
||||
root_completed = coordinator.statuses.get(root_id) == "completed"
|
||||
if not root_completed:
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ _FRONTMATTER_PATTERN = re.compile(r"^---\s*\n(?P<body>.*?)\n---\s*\n", re.DOTALL
|
|||
# Only skills with `template: jinja` in their frontmatter are rendered; the rest hold
|
||||
# literal `{{ }}` payloads.
|
||||
_SKILL_TEMPLATES = Environment(
|
||||
autoescape=False, # noqa: S701 - prompts, not HTML
|
||||
autoescape=False, # noqa: S701 # nosec B701 - prompts, not HTML
|
||||
undefined=StrictUndefined,
|
||||
trim_blocks=True,
|
||||
lstrip_blocks=True,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue