Skip to content

Commit 1c415d4

Browse files
committed
snake_case naming style
1 parent f714dc2 commit 1c415d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

leetcode.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def set_by_index(self) -> None:
127127
)
128128
self.problem_diff.set(self.df["Difficulty"].iloc[self.problem_index])
129129

130-
def set_by_ID(self) -> None:
130+
def set_by_id(self) -> None:
131131
number = int(self.goto_choice.get()) # 0-indexed vs 1-indexed
132132

133133
index: pd.Index = self.df.index[self.df["ID"] == number]
@@ -147,7 +147,7 @@ def goto_problem(self) -> None:
147147
label: str = self.goto_combovar.get()
148148

149149
if label == self.goto_combovar_values[0]: # self.goto_combovar_values == "ID"
150-
self.set_by_ID()
150+
self.set_by_id()
151151
elif (
152152
label
153153
== self.goto_combovar_values[1] # self.goto_combovar_values == "Index"

0 commit comments

Comments
 (0)