forked from Mirror/pmbootstrap
pmb: Add lots of type hints (MR 2464)
This commit is contained in:
parent
d05d57b37e
commit
225d8b30a0
71 changed files with 566 additions and 325 deletions
|
@ -56,7 +56,7 @@ def get_context(allow_failure: bool = False) -> Context:
|
|||
return __context
|
||||
|
||||
|
||||
def set_context(context: Context):
|
||||
def set_context(context: Context) -> None:
|
||||
"""Set global runtime context."""
|
||||
global __context
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue