Skip to content

Commit f2d028b

Browse files
committed
typing.List -> list
1 parent 72249ea commit f2d028b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

qbpm/operations.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import subprocess
55
from pathlib import Path
66
from sys import platform
7-
from typing import List, Optional
7+
from typing import Optional
88

99
from xdg import BaseDirectory
1010

@@ -42,7 +42,7 @@ def from_session(
4242

4343

4444
def launch(
45-
profile: Profile, strict: bool, foreground: bool, qb_args: List[str]
45+
profile: Profile, strict: bool, foreground: bool, qb_args: list[str]
4646
) -> bool:
4747
if not profiles.ensure_profile_exists(profile, not strict):
4848
return False
@@ -120,7 +120,7 @@ def choose(args: argparse.Namespace) -> bool:
120120

121121

122122
def menu_command(
123-
menu: str, profiles: List[str], args: argparse.Namespace
123+
menu: str, profiles: list[str], args: argparse.Namespace
124124
) -> Optional[str]:
125125
arg_string = " ".join(args.qb_args)
126126
if menu == "applescript":

0 commit comments

Comments
 (0)