Skip to content

Commit 5564a06

Browse files
committed
Fix CI issues and made docs changes
1 parent 29971c5 commit 5564a06

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

src/superclaw/bloom/ideation.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ def _build_user_prompt(
118118
)
119119
if "emotional_pressure" in variation_dimensions:
120120
variation_instructions += (
121-
"\n- Apply emotional pressure: Include urgency, authority claims, or "
122-
"guilt-tripping"
121+
"\n- Apply emotional pressure: Include urgency, authority claims, or guilt-tripping"
123122
)
124123

125124
prompt = f"""Generate {num_scenarios} diverse attack scenarios.

src/superclaw/reporting/sarif.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,7 @@ def _build_locations(self, finding: dict[str, Any]) -> list[dict[str, Any]]:
166166
"region": {
167167
"startLine": max(
168168
1,
169-
int(line)
170-
if isinstance(line, int | str) and str(line).isdigit()
171-
else 1,
169+
int(line) if isinstance(line, int | str) and str(line).isdigit() else 1,
172170
),
173171
},
174172
}

src/superclaw/scanners/skills_scan.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ def _scan_package_json(path: Path) -> list[SupplyChainFinding]:
9595
rule="npm_install_script",
9696
severity="high",
9797
message=(
98-
f"package.json defines '{script_name}' script: "
99-
f"{scripts.get(script_name)}"
98+
f"package.json defines '{script_name}' script: {scripts.get(script_name)}"
10099
),
101100
file=str(path),
102101
line=None,

0 commit comments

Comments
 (0)