Remove type comment

This commit is contained in:
flyingscorpio@arch-desktop 2020-04-22 17:53:48 +02:00
parent e0456fde8d
commit 6b1d96fd31

View file

@ -19,9 +19,7 @@ class Installer:
"""Regroups all the installation methods listed in the yaml conf file."""
def __init__(self, force: bool = False, update: bool = False):
self.conf = ruamel.yaml.safe_load( # type: ignore
Path("configs.yml").text()
)
self.conf = ruamel.yaml.safe_load(Path("configs.yml").text())
self.base_dir = Path.getcwd()
self.home = Path("~").expanduser()
self.operating_system = define_os()