Skip to content

Commit b9e0d5c

Browse files
committed
style fix
1 parent 343e386 commit b9e0d5c

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

caldav/davclient.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,10 @@ def _expand_simple_prop(
295295
prop_xml = props_found[proptag]
296296
if prop_xml.items():
297297
from caldav.lib.debug import xmlstring
298-
log.error(f"If you see this, please add a report at https://github.com/python-caldav/caldav/issues/209 - in _expand_simple_prop, dealing with {proptag}, extra items found: {xmlstring(prop_xml)}.")
298+
299+
log.error(
300+
f"If you see this, please add a report at https://github.com/python-caldav/caldav/issues/209 - in _expand_simple_prop, dealing with {proptag}, extra items found: {xmlstring(prop_xml)}."
301+
)
299302
if not xpath and len(prop_xml) == 0:
300303
if prop_xml.text:
301304
values.append(prop_xml.text)

caldav/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1338,7 +1338,7 @@ def build_search_xml_query(
13381338
props=None,
13391339
alarm_start=None,
13401340
alarm_end=None,
1341-
**kwargs
1341+
**kwargs,
13421342
):
13431343
"""This method will produce a caldav search query as an etree object.
13441344

tests/test_caldav.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ def testAlarm(self):
992992
self.skip_on_compatibility_flag("no_alarmsearch")
993993

994994
## So we have an alarm that goes off 07:45 for an event starting 08:00
995-
995+
996996
## Search for alarms after 8 should find nothing
997997
## (search for an alarm 07:55 - 08:05 should most likely find nothing).
998998
assert (
@@ -1005,7 +1005,7 @@ def testAlarm(self):
10051005
)
10061006
== 0
10071007
)
1008-
1008+
10091009
## Search for alarms from 07:40 to 07:55 should definitively find the alarm.
10101010
assert (
10111011
len(

0 commit comments

Comments
 (0)