Skip to content

Commit

Permalink
run black
Browse files Browse the repository at this point in the history
  • Loading branch information
Cube707 committed Jan 3, 2024
1 parent 7ed5944 commit 5be132d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion examples/mixed.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@


if __name__ == "__main__":

questions = [
inquirer.Text("user", message="Please enter your github username", validate=lambda _, x: x != "."),
inquirer.Password("password", message="Please enter your password"),
Expand Down
1 change: 0 additions & 1 deletion examples/pre_answers.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@


if __name__ == "__main__":

questions = [
inquirer.Text("user", message="Please enter your github username", validate=lambda _, x: x != "."),
inquirer.Password("password", message="Please enter your password"),
Expand Down
2 changes: 0 additions & 2 deletions src/inquirer/questions.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ def __init__(
other=False,
autocomplete=None,
):

super().__init__(name, message, choices, default, ignore, validate, other=other)
self.carousel = carousel
self.autocomplete = autocomplete
Expand All @@ -172,7 +171,6 @@ def __init__(
other=False,
autocomplete=None,
):

super().__init__(name, message, choices, default, ignore, validate, other=other)
self.locked = locked
self.carousel = carousel
Expand Down
1 change: 0 additions & 1 deletion src/inquirer/render/console/_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def get_options(self):
or (is_in_beginning and index == self.current)
or (is_in_end and end_index == self.current)
):

color = self.theme.List.selection_color
symbol = "+" if choice == GLOBAL_OTHER_CHOICE else self.theme.List.selection_cursor
else:
Expand Down

0 comments on commit 5be132d

Please sign in to comment.