Commit 2a22127
authored
This PR addresses integration issues and lint/test failures introduced
by the batch merge of the following PRs into main:
- PR #75: fix(loader): avoid spurious the.py from English prose in SKILL.md
- PR #76: fix(python-parser): include file path, line number, and source
text in SyntaxError warning (#69)
- PR #70: fix(ci): make only Google LLM providers optional
- PR #60: fix: add plain JSON controls for incompatible LLM backends
- PR #63: feat: allow --lenient to scan skills without SKILL.md
Additionally, PR #73 was closed as superseded by PR #76 (both addressed
issue #69; PR #76 included tests).
Fixes included:
1. test_robustness_features.py: Update regex in
test_no_skill_md_still_raises_in_lenient to match the new error
message from PR #63 ("No SKILL.md and no .md files found" instead
of "SKILL.md not found").
2. cli.py: Pass skill_file parameter to meta-analysis reload calls in
both scan_command and scan_all_command. Without this, using
--skill-file with --enable-meta would fail because the meta-analysis
pass reloaded the skill without the custom skill_file, potentially
raising SkillLoadError or loading the wrong document.
3. test_python_parser_syntax_error.py, test_lenient_no_skillmd.py:
Auto-fix import sorting (ruff I001) in test files introduced by
PRs #76 and #63.
4. .gitignore: Add scripts/ui_screenshot.py and
scripts/ui_security_verify.py to gitignore (local-only Playwright
UI verification scripts, not part of the project).
5. uv.lock: Regenerated to match the updated pinned dependencies in
pyproject.toml from the merged PRs.
1 parent 75947ae commit 2a22127
8 files changed
Lines changed: 57 additions & 62 deletions
File tree
- skill_scanner
- cli
- core
- tests
- static_analysis
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
105 | 109 | | |
106 | 110 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
| 362 | + | |
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
466 | 468 | | |
467 | 469 | | |
468 | 470 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
| 108 | + | |
111 | 109 | | |
112 | 110 | | |
113 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
707 | | - | |
708 | | - | |
709 | | - | |
| 707 | + | |
710 | 708 | | |
711 | 709 | | |
712 | 710 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
65 | | - | |
66 | | - | |
| 64 | + | |
67 | 65 | | |
68 | 66 | | |
69 | 67 | | |
| |||
73 | 71 | | |
74 | 72 | | |
75 | 73 | | |
76 | | - | |
77 | | - | |
| 74 | + | |
78 | 75 | | |
79 | 76 | | |
80 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
310 | 309 | | |
311 | 310 | | |
312 | 311 | | |
313 | | - | |
314 | | - | |
315 | | - | |
| 312 | + | |
316 | 313 | | |
317 | 314 | | |
318 | 315 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments