From 787e9df642daa31b10547ff669a579aa1538235a Mon Sep 17 00:00:00 2001 From: Dmitry Date: Sat, 4 Jun 2022 18:50:58 +0300 Subject: [PATCH] explicitly exports to fix (mypy --strict) errors like: >> error: Module "sync_ics2gcal" does not explicitly export attribute "GoogleCalendarService"; implicit reexport disabled --- sync_ics2gcal/__init__.py | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/sync_ics2gcal/__init__.py b/sync_ics2gcal/__init__.py index 826b84c..319f936 100644 --- a/sync_ics2gcal/__init__.py +++ b/sync_ics2gcal/__init__.py @@ -6,6 +6,39 @@ from .gcal import ( EventData, EventList, EventTuple, + EventDataKey, + EventDateOrDateTime, + EventDate, + EventDateTime, + EventsSearchResults, + ACLRule, + ACLScope, + CalendarData, + BatchRequestCallback, ) -from .sync import CalendarSync +from .sync import CalendarSync, ComparedEvents + +__all__ = [ + "ical", + "gcal", + "sync", + "CalendarConverter", + "EventConverter", + "DateDateTime", + "GoogleCalendarService", + "GoogleCalendar", + "EventData", + "EventList", + "EventTuple", + "EventDataKey", + "EventDateOrDateTime", + "EventDate", + "EventDateTime", + "EventsSearchResults", + "ACLRule", + "ACLScope", + "CalendarData", + "CalendarSync", + "ComparedEvents", +]