qutebrowser profile manager

typing.List -> list

+3 -3
+3 -3
qbpm/operations.py
··· 4 import subprocess 5 from pathlib import Path 6 from sys import platform 7 - from typing import List, Optional 8 9 from xdg import BaseDirectory 10 ··· 42 43 44 def launch( 45 - profile: Profile, strict: bool, foreground: bool, qb_args: List[str] 46 ) -> bool: 47 if not profiles.ensure_profile_exists(profile, not strict): 48 return False ··· 120 121 122 def menu_command( 123 - menu: str, profiles: List[str], args: argparse.Namespace 124 ) -> Optional[str]: 125 arg_string = " ".join(args.qb_args) 126 if menu == "applescript":
··· 4 import subprocess 5 from pathlib import Path 6 from sys import platform 7 + from typing import Optional 8 9 from xdg import BaseDirectory 10 ··· 42 43 44 def launch( 45 + profile: Profile, strict: bool, foreground: bool, qb_args: list[str] 46 ) -> bool: 47 if not profiles.ensure_profile_exists(profile, not strict): 48 return False ··· 120 121 122 def menu_command( 123 + menu: str, profiles: list[str], args: argparse.Namespace 124 ) -> Optional[str]: 125 arg_string = " ".join(args.qb_args) 126 if menu == "applescript":