From f2081d1e7db65420da6a6722670207fc8197db48 Mon Sep 17 00:00:00 2001 From: David Barnett Date: Sun, 25 Aug 2024 12:37:35 -0600 Subject: [PATCH] Explicitly export types from __init__.py Adds explicit import aliases per https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-no-implicit-reexport. --- vobject/__init__.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/vobject/__init__.py b/vobject/__init__.py index f0909f0..abae719 100644 --- a/vobject/__init__.py +++ b/vobject/__init__.py @@ -76,9 +76,13 @@ """ -from .base import newFromBehavior, readOne, readComponents -from . import icalendar, vcard - +from . import ( + icalendar as icalendar, + vcard as vcard) +from .base import ( + newFromBehavior, + readComponents as readComponents, + readOne as readOne) # Package version VERSION = "0.9.8"