BIG flow3r
Add big-flow3r support to the simulator via --full-screen
flag.
What it looks like on the screen:
TODO:
-
Merge !209 (merged)
Merge request reports
Activity
assigned to @q3k
added 17 commits
-
53a066b4...7172b9d2 - 14 commits from branch
main
- 2a72fa1d - sim: Use argparse instead of hack arg parsing
- e8c2c5f4 - sim: Implement full-screen mode
- ede5fab8 - sim: ctx: Fix "Comic Mono" font missing
Toggle commit list-
53a066b4...7172b9d2 - 14 commits from branch
added 14 commits
-
85b1e244...989bc859 - 8 commits from branch
main
- 1e8f3a0c - sim: Use argparse instead of hack arg parsing
- 2f772128 - sim: Implement full-screen mode
- 38bd42a8 - sim: ctx: Fix "Comic Mono" font missing
- f79bccdc - sim: Make OLED size configurable
- 86deb1fc - sim: Add configurable OLED aspect ratio
- d33a2b01 - sim: Add configurable OLED scale
Toggle commit list-
85b1e244...989bc859 - 8 commits from branch
added 24 commits
-
d33a2b01...7fed18fa - 10 commits from branch
main
- 7fed18fa...964beaa7 - 4 earlier commits
- fb602352 - sim: Mock `urequests` using `requests`
- f7e7290f - docs: Document requests dependency for simulator
- b3f8ff30 - sim: Fix wrong petal order
- e4386700 - sim: Properly exit when window is closed
- a2558f20 - sim: ctx: Fix "Comic Mono" font missing
- 65f28a6c - sim: Use argparse instead of hack arg parsing
- fa967c04 - sim: Implement full-screen mode
- 233e2957 - sim: Make OLED size configurable
- a9ecaf88 - sim: Add configurable OLED aspect ratio
- 498b887f - sim: Add configurable OLED scale
Toggle commit list-
d33a2b01...7fed18fa - 10 commits from branch
Now depends on !209 (merged).
added 22 commits
-
498b887f...0dde01e1 - 6 commits from branch
main
- 0dde01e1...0c0061e1 - 6 earlier commits
- e83c2e14 - sim: Fix wrong petal order
- 77132e84 - sim: Properly exit when window is closed
- fdc4de82 - sim: ctx: Fix "Comic Mono" font missing
- ac3b5306 - sim: Use argparse instead of hack arg parsing
- 5976d088 - sim: network: Add stub WLAN.scan()
- e0b6bd75 - sim: Add help for commandline arguments
- b555ebf2 - sim: Implement full-screen mode
- 6ea7dcb9 - sim: Make OLED size configurable
- aa1adffc - sim: Add configurable OLED aspect ratio
- aa8b0e19 - sim: Add configurable OLED scale
Toggle commit list-
498b887f...0dde01e1 - 6 commits from branch
marked the checklist item Merge !209 (merged) as completed
unassigned @q3k
added 649 commits
Toggle commit list171 171 NumberTunable is a UnaryTunable that has a numeric value 172 172 """ 173 173 174 def __init__(self, name: str, key: str, default: Optional[int | float]) -> None: 174 def __init__(self, name: str, key: str, default: Optional[float]) -> None: Optional[int | float]
is not a valid type annotation. I've changed it to justfloat
because anint
should be viewed as a subclass offloat
for typing purposes. But even if you wanted to express the union, the correct syntax would have beenOptional[Union[int, float]]
, or the equivalentUnion[int, float, None]
.The only reason I touched this code at all is that the regular python interpreter throws an exception when trying to evaluate this annotation as part of running the simulator.
Optional[int | float]
is a valid type annotation and the simulator works fine with it (otherwise CI would be broken on main right now). Union type expressions were introduced with Python 3.10 in 2021 (PEP 604). If you want to make it compatible with Python < 3.10 then go on, though it may be worth editing the commit message to be less confusing.So https://peps.python.org/pep-0484/#the-numeric-tower states that
float
alone will, indeed, already coverint
. Personally I'd prefer having it explicit, but my initial worry was that it's wrong - and it's not 🤪️
added 18 commits
Toggle commit list