run the code formatter over all

This commit is contained in:
Jakob Ketterl
2021-01-20 17:01:46 +01:00
parent f0dc2f8ebe
commit 64b7b485b3
37 changed files with 268 additions and 203 deletions

View File

@@ -68,6 +68,7 @@ class DatetimeScheduleEntry(ScheduleEntry):
def getNextActivation(self):
return self.startTime
class Schedule(ABC):
@staticmethod
def parse(props):
@@ -140,7 +141,7 @@ class DaylightSchedule(TimerangeSchedule):
degtorad = math.pi / 180
radtodeg = 180 / math.pi
#Number of days since 01/01
# Number of days since 01/01
days = date.timetuple().tm_yday
# Longitudinal correction