Skip to content

Commit 34ecfdc

Browse files
committed
Code fixes & reformatting by black + ruff
1 parent 9f7593b commit 34ecfdc

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

keyup.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from pyclickup import ClickUp
1010

1111

12-
def init_environ():
12+
def init_environ():
1313
dotenv.load_dotenv(".env")
1414
return dotenv.dotenv_values()
1515

@@ -43,7 +43,8 @@ def get_team(clickup, argv):
4343
if len(clickup.teams) > 1:
4444
questions = [
4545
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}",
4748
choices=[f"{team.name} [{team.id}]" for team in clickup.teams],
4849
)
4950
]
@@ -72,7 +73,8 @@ def get_list_for(space_obj, argv):
7273

7374
questions = [
7475
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}",
7678
choices=[f"{li.name} [{li.id}]" for li in space_obj.lists],
7779
)
7880
]
@@ -95,7 +97,8 @@ def get_space_for(team, argv):
9597
if len(team.spaces) > 1:
9698
questions = [
9799
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}",
99102
choices=[f"{space.name} [{space.id}]" for space in team.spaces],
100103
)
101104
]
@@ -121,7 +124,8 @@ def get_project_for(space, argv):
121124
if len(space.projects) > 1:
122125
questions = [
123126
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}",
125129
choices=[f"{project.name} [{project.id}]" for project in space.projects],
126130
)
127131
]

0 commit comments

Comments
 (0)