Skip to content

Commit 31816dc

Browse files
committed
Add some type hints
1 parent 2e023a5 commit 31816dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vdirsyncer/sync/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ async def run(self, a, b, conflict_resolution, partial_sync):
296296
)
297297

298298

299-
def _get_actions(a_info, b_info):
299+
def _get_actions(a_info: _StorageInfo, b_info: _StorageInfo):
300300
for ident in uniq(
301301
itertools.chain(
302302
a_info.status.parent.iter_new(), a_info.status.parent.iter_old()

vdirsyncer/sync/status.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def get_by_href_b(self, *a, **kw):
328328

329329

330330
class SubStatus:
331-
def __init__(self, parent, side):
331+
def __init__(self, parent: SqliteStatus, side: str):
332332
self.parent = parent
333333
assert side in "ab"
334334

0 commit comments

Comments
 (0)