()
| 210 | |
| 211 | |
| 212 | def main() -> int: |
| 213 | n_added = 0 |
| 214 | for n in range(1, 11): |
| 215 | tid = f"P{n:02d}" |
| 216 | p = ROOT / f"{tid}.yaml" |
| 217 | if not p.is_file(): |
| 218 | print(f" skip {tid}: file missing") |
| 219 | continue |
| 220 | if inject_into(p): |
| 221 | print(f" + {tid}: requirements block added") |
| 222 | n_added += 1 |
| 223 | else: |
| 224 | print(f" {tid}: already has requirements (skipped)") |
| 225 | print(f"\n done — {n_added}/10 manifests updated") |
| 226 | return 0 |
| 227 | |
| 228 | |
| 229 | if __name__ == "__main__": |
no test coverage detected