@@ -176,7 +176,9 @@ def from_config(cls, args_config: dict[str, Any]) -> 'ArchConfig':
176176
177177 if args_config .get ('disk_encryption' , None ) is not None and arch_config .disk_config is not None :
178178 arch_config .disk_encryption = DiskEncryption .parse_arg (
179- arch_config .disk_config , args_config ['disk_encryption' ], Password (plaintext = args_config .get ('encryption_password' , '' ))
179+ arch_config .disk_config ,
180+ args_config ['disk_encryption' ],
181+ Password (plaintext = args_config .get ('encryption_password' , '' )),
180182 )
181183
182184 if hostname := args_config .get ('hostname' , '' ):
@@ -267,15 +269,26 @@ def _define_arguments(self) -> ArgumentParser:
267269 )
268270 parser .add_argument ('--script' , default = 'guided' , nargs = '?' , help = 'Script to run for installation' , type = str )
269271 parser .add_argument (
270- '--mount-point' , '--mount_point' , type = Path , nargs = '?' , default = Path ('/mnt' ), help = 'Define an alternate mount point for installation'
272+ '--mount-point' ,
273+ '--mount_point' ,
274+ type = Path ,
275+ nargs = '?' ,
276+ default = Path ('/mnt' ),
277+ help = 'Define an alternate mount point for installation' ,
271278 )
272279 parser .add_argument ('--skip-ntp' , action = 'store_true' , help = 'Disables NTP checks during installation' , default = False )
273280 parser .add_argument ('--debug' , action = 'store_true' , default = False , help = 'Adds debug info into the log' )
274281 parser .add_argument (
275- '--offline' , action = 'store_true' , default = False , help = 'Disabled online upstream services such as package search and key-ring auto update.'
282+ '--offline' ,
283+ action = 'store_true' ,
284+ default = False ,
285+ help = 'Disabled online upstream services such as package search and key-ring auto update.' ,
276286 )
277287 parser .add_argument (
278- '--no-pkg-lookups' , action = 'store_true' , default = False , help = 'Disabled package validation specifically prior to starting installation.'
288+ '--no-pkg-lookups' ,
289+ action = 'store_true' ,
290+ default = False ,
291+ help = 'Disabled package validation specifically prior to starting installation.' ,
279292 )
280293 parser .add_argument ('--plugin' , nargs = '?' , type = str , default = None , help = 'File path to a plugin to load' )
281294 parser .add_argument ('--skip-version-check' , action = 'store_true' , default = False , help = 'Skip the version check when running archinstall' )
@@ -354,7 +367,10 @@ def _process_creds_data(self, creds_data: str) -> dict[str, Any] | None:
354367 header = str (_ ('Incorrect password' )) if incorrect_password else None
355368
356369 decryption_pwd = get_password (
357- text = str (_ ('Credentials file decryption password' )), header = header , allow_skip = False , skip_confirmation = True
370+ text = str (_ ('Credentials file decryption password' )),
371+ header = header ,
372+ allow_skip = False ,
373+ skip_confirmation = True ,
358374 )
359375
360376 if not decryption_pwd :
0 commit comments