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
|
@ -83,7 +83,7 @@ def init_usr_merge(chroot: Chroot) -> None:
|
|||
|
||||
|
||||
@Cache()
|
||||
def warn_if_chroots_outdated():
|
||||
def warn_if_chroots_outdated() -> None:
|
||||
outdated = pmb.config.workdir.chroots_outdated()
|
||||
if outdated:
|
||||
days_warn = int(pmb.config.chroot_outdated / 3600 / 24)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue