@@ -318,9 +318,7 @@ def cmd_yubikey(args): # noqa: C901
318318
319319 if not args .yubikey_command :
320320 print ("❌ No yubikey command specified" )
321- print (
322- " Available commands: setup, status, encrypt-key, decrypt-key, verify-pin, change-pin"
323- )
321+ print (" Available commands: setup, status, encrypt-key, decrypt-key, verify-pin, change-pin" )
324322 sys .exit (1 )
325323
326324 try :
@@ -359,9 +357,7 @@ def cmd_yubikey(args): # noqa: C901
359357 print (" YubiKey will be used for age key encryption" )
360358 print (" Note: age-plugin-yubikey must be installed for encryption/decryption" )
361359 print ()
362- print (
363- "⚠️ IMPORTANT: Run 'nakimi yubikey encrypt-key' to encrypt your existing age key"
364- )
360+ print ("⚠️ IMPORTANT: Run 'nakimi yubikey encrypt-key' " "to encrypt your existing age key" )
365361
366362 elif args .yubikey_command == "status" :
367363 print ("🔍 Checking YubiKey status..." )
@@ -592,9 +588,7 @@ class Args:
592588 yubikey_sub .add_parser ("status" , help = "Check YubiKey status and configuration" )
593589
594590 # yubikey encrypt-key
595- encrypt_parser = yubikey_sub .add_parser (
596- "encrypt-key" , help = "Encrypt existing age key with YubiKey"
597- )
591+ encrypt_parser = yubikey_sub .add_parser ("encrypt-key" , help = "Encrypt existing age key with YubiKey" )
598592 encrypt_parser .add_argument ("--slot" , default = "9a" , help = "PIV slot to use (default: 9a)" )
599593
600594 # yubikey decrypt-key (for testing)
0 commit comments