chore(keyringctl): declare missing type hinting for cwd

This commit is contained in:
Levente Polyak 2021-10-12 19:35:18 +02:00
parent 04008da268
commit aa934d5ff5
No known key found for this signature in database
GPG Key ID: FC1B547C8D8172C8

View File

@ -32,6 +32,7 @@ from typing import Dict
from typing import List
from typing import Optional
from typing import Iterable
from typing import Iterator
from typing import Tuple
from typing import Union
@ -39,7 +40,7 @@ from contextlib import contextmanager
@contextmanager
def cwd(new_dir: Path):
def cwd(new_dir: Path) -> Iterator[None]:
"""Change to a new current working directory in a context and go back to the previous dir after the context is done
Parameters