mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-10-17 20:39:13 +00:00
Compare commits
2
Commits
b3d9af4bcd
...
4a64a37b01
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a64a37b01 | ||
|
|
25d3f35b55 |
@@ -115,7 +115,7 @@ def run_script_tests(test_files: list, verbose: bool = False) -> int:
|
||||
# discovered by globbing the repo; argument list, no shell, so
|
||||
# nothing is word-split or expanded. Same suppression pair the
|
||||
# rest of the repo uses for this shape (see permission_utils.py).
|
||||
proc = subprocess.run( # nosec B603 - no shell invoked (list-form argv) # nosemgrep
|
||||
proc = subprocess.run( # noqa: S603 # nosec B603 - no shell invoked (list-form argv) # nosemgrep
|
||||
[sys.executable, str(path)], # nosemgrep
|
||||
cwd=str(Path(path).parent),
|
||||
capture_output=True, text=True, env=env,
|
||||
|
||||
@@ -507,15 +507,7 @@ class VisualTestDisplayManager:
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
def set_scrolling_state(self, is_scrolling: bool):
|
||||
"""Set the current scrolling state (no-op for testing).
|
||||
|
||||
Deliberately mirrors DisplayManager.set_scrolling_state exactly. A
|
||||
double that accepts arguments production does not lets a call pass
|
||||
every harness run and then raise TypeError on the panel, which is the
|
||||
one failure a safety harness exists to prevent. ``frame_hold`` arrives
|
||||
here in the same change that adds it to DisplayManager (#523), not
|
||||
before.
|
||||
"""
|
||||
"""Set the current scrolling state (no-op for testing)."""
|
||||
self._scrolling_state['is_scrolling'] = is_scrolling
|
||||
if is_scrolling:
|
||||
self._scrolling_state['last_scroll_activity'] = time.time()
|
||||
|
||||
Reference in New Issue
Block a user