Skip to content

Commit 879b010

Browse files
committed
Formatted the code with yapf
1 parent 03d9f93 commit 879b010

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

src/arguments/markdown.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ def __str__(self):
3535
return str(self.render)
3636

3737
def __repr__(self):
38-
return str(self.render)
38+
return str(self.render)

src/arguments/save.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def generate_file_name(self, directory):
2727
while filename in file_list:
2828
filename = str(uuid.uuid4()).replace("-", "_")[:4]
2929

30-
return filename
30+
return filename
3131

3232
def __repr__(self):
3333
return str(self.save_results_filename)

src/arguments/search.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,12 @@ def search_for_results(self, save=False):
5757
questions = self.utility_object.get_que(json_output)
5858
if questions == []:
5959
# evoke an error
60-
search_error = SearchError("No answer found",
61-
"Please try reddit")
60+
search_error = SearchError("No answer found", "Please try reddit")
6261
else:
6362
data = self.utility_object.get_ans(questions)
6463

6564
if save:
6665
filename = SaveSearchResults(data)
6766
print(
68-
colored(f"Answers successfully saved into {filename}", "green")
69-
)
67+
colored(f"Answers successfully saved into {filename}",
68+
"green"))

0 commit comments

Comments
 (0)