Skip to content

Commit

Permalink
Add __all__ to __init__ for better autocompletion.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianPugh committed Dec 8, 2023
1 parent 796a8d8 commit 8ff3b8d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ __pycache__

src/**/*.c
docs/_build
.DS_Store
12 changes: 12 additions & 0 deletions src/littlefs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@
from .lfs import __LFS_DISK_VERSION__, __LFS_VERSION__
from .errors import LittleFSError

__all__ = [
"FileHandle",
"LittleFS",
"LittleFSError",
"UserContext",
"UserContextWinDisk",
"__LFS_DISK_VERSION__",
"__LFS_VERSION__",
"errors",
"lfs",
]


try:
__version__ = version("littlefs-python")
Expand Down

0 comments on commit 8ff3b8d

Please sign in to comment.