qutebrowser profile manager

typing.List -> list

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