mirror of
https://forge.darkest.space/hyperhive/hyperhive.git
synced 2026-12-02 21:11:04 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
A VM test script and `lib/k3s.py` share one namespace, so a step that assigns `pod = ...` replaces the library's `pod()` for every later call and the test dies mid-run with `TypeError: 'dict' object is not callable`. `ty` and `ruff --select F` accept a module-level rebinding, so this cost a full VM round on #6947. `vm-test-shadow-scan.py` parses the script and fails when a name bound at module level (assignment, `for` or `with` target, `import ... as`, walrus, `except ... as`) is also a module-level `def`. It looks into `with`, `if`, `for`, `while` and `try` bodies, where `with subtest(...)` steps live, and not into function or comprehension bodies. Every `vm-test-typecheck-<name>` runs it on the script alone. `vm-test-typecheck-shadow-control` passes only when it rejects each form of rebinding and accepts the same names where they are local. The one existing case, `sources` in `k8s-services`, is renamed `cred_sources`. Closes #6951 |
||
| .. | ||
| process | ||
| web-ui | ||