tangled
alpha
login
or
join now
pvsr.dev
/
qbpm
qutebrowser profile manager
0
fork
atom
overview
issues
pulls
pipelines
typing.List -> list
pvsr.dev
3 years ago
f2d028bf
72249ea5
+3
-3
1 changed file
expand all
collapse all
unified
split
qbpm
operations.py
+3
-3
qbpm/operations.py
···
4
4
import subprocess
5
5
from pathlib import Path
6
6
from sys import platform
7
7
-
from typing import List, Optional
7
7
+
from typing import Optional
8
8
9
9
from xdg import BaseDirectory
10
10
···
42
42
43
43
44
44
def launch(
45
45
-
profile: Profile, strict: bool, foreground: bool, qb_args: List[str]
45
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
123
-
menu: str, profiles: List[str], args: argparse.Namespace
123
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":