Add some type hints

This commit is contained in:
Hugo Osvaldo Barrera 2024-02-20 15:07:52 +01:00
parent 2e023a5feb
commit 31816dc652
2 changed files with 2 additions and 2 deletions

View file

@ -296,7 +296,7 @@ class ResolveConflict(Action):
)
def _get_actions(a_info, b_info):
def _get_actions(a_info: _StorageInfo, b_info: _StorageInfo):
for ident in uniq(
itertools.chain(
a_info.status.parent.iter_new(), a_info.status.parent.iter_old()

View file

@ -328,7 +328,7 @@ class SqliteStatus(_StatusBase):
class SubStatus:
def __init__(self, parent, side):
def __init__(self, parent: SqliteStatus, side: str):
self.parent = parent
assert side in "ab"