forked from Mirror/pmbootstrap
pmb: Add more type hints (MR 2513)
And fix some consequential type errors. [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
c8194302fc
commit
0925b3e425
12 changed files with 69 additions and 19 deletions
|
@ -13,11 +13,11 @@ class Log(commands.Command):
|
|||
clear_log: bool
|
||||
lines: int
|
||||
|
||||
def __init__(self, clear_log: bool, lines: int):
|
||||
def __init__(self, clear_log: bool, lines: int) -> None:
|
||||
self.clear_log = clear_log
|
||||
self.lines = lines
|
||||
|
||||
def run(self):
|
||||
def run(self) -> None:
|
||||
context = get_context()
|
||||
log_testsuite = pmb.config.pmb_src / ".pytest_tmp/log_testsuite.txt"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue