antonvh / PUPRemote

Communication protocol over LEGO PoweredUP (PUP) for hubs running Pybricks
GNU General Public License v3.0
6 stars 2 forks source link

argnames #5

Closed antonvh closed 1 year ago

antonvh commented 1 year ago

I would prefer: def add_command(self, mode_name: str, to_hub_fmt=None: str, from_hub_fmt=None: str):

https://github.com/antonvh/PUPRemote/blob/bf360020e9d47dcc9672a2e383b8f1b2f04c8b3b/PUPRemote/pupremote.py#L16C7-L16C7