Skip to content

Commit

Permalink
fix up docs
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianPugh committed Dec 1, 2022
1 parent bcef761 commit a91b023
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
13 changes: 8 additions & 5 deletions belay/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@

__all__ = [
"AuthenticationError",
"minify",
"ConnectionLost",
"Device",
"SpecialFunctionNameError",
"PyboardException",
"Implementation",
"FeatureUnavailableError",
"Implementation",
"MaxHistoryLengthError",
"PyboardException",
"SpecialFunctionNameError",
"list_devices",
"minify",
]
from ._minify import minify
from .device import Device, Implementation
Expand All @@ -19,5 +22,5 @@
MaxHistoryLengthError,
SpecialFunctionNameError,
)
from .pyboard import PyboardException
from .helpers import list_devices
from .pyboard import PyboardException
4 changes: 4 additions & 0 deletions belay/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ def read_snippet(name):
def list_devices() -> List[str]:
"""Lists available device ports.
For example::
['/dev/cu.usbmodem1143401', '/dev/cu.usbmodem113101']
Returns
-------
list[str]
Expand Down

0 comments on commit a91b023

Please sign in to comment.