9
9
from pyclickup import ClickUp
10
10
11
11
12
- def init_environ ():
12
+ def init_environ ():
13
13
dotenv .load_dotenv (".env" )
14
14
return dotenv .dotenv_values ()
15
15
@@ -43,7 +43,8 @@ def get_team(clickup, argv):
43
43
if len (clickup .teams ) > 1 :
44
44
questions = [
45
45
inquirer .List (
46
- "team" , message = f"Select a { Color .MAGENTA } Team{ Color .OFF } " ,
46
+ "team" ,
47
+ message = f"Select a { Color .MAGENTA } Team{ Color .OFF } " ,
47
48
choices = [f"{ team .name } [{ team .id } ]" for team in clickup .teams ],
48
49
)
49
50
]
@@ -72,7 +73,8 @@ def get_list_for(space_obj, argv):
72
73
73
74
questions = [
74
75
inquirer .List (
75
- "list" , message = f"Select a { Color .YELLOW } List{ Color .OFF } " ,
76
+ "list" ,
77
+ message = f"Select a { Color .YELLOW } List{ Color .OFF } " ,
76
78
choices = [f"{ li .name } [{ li .id } ]" for li in space_obj .lists ],
77
79
)
78
80
]
@@ -95,7 +97,8 @@ def get_space_for(team, argv):
95
97
if len (team .spaces ) > 1 :
96
98
questions = [
97
99
inquirer .List (
98
- "space" , message = f"Select a { Color .CYAN } Space{ Color .OFF } " ,
100
+ "space" ,
101
+ message = f"Select a { Color .CYAN } Space{ Color .OFF } " ,
99
102
choices = [f"{ space .name } [{ space .id } ]" for space in team .spaces ],
100
103
)
101
104
]
@@ -121,7 +124,8 @@ def get_project_for(space, argv):
121
124
if len (space .projects ) > 1 :
122
125
questions = [
123
126
inquirer .List (
124
- "project" , message = f"Select a { Color .GREEN } Project{ Color .OFF } " ,
127
+ "project" ,
128
+ message = f"Select a { Color .GREEN } Project{ Color .OFF } " ,
125
129
choices = [f"{ project .name } [{ project .id } ]" for project in space .projects ],
126
130
)
127
131
]
0 commit comments