Skip to content

Commit

Permalink
fixed fstring for flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
nheeb committed Nov 22, 2024
1 parent a37aa33 commit 7ec9887
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hermes/commands/init/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,8 @@ def choose_deposit_files(self):
options.update(
{str(i): f"Only {folder}/*" for i, folder in enumerate(self.folder_info.dir_folders)}
)
file_choice = sc.choose(f"Which{" other" if add_readme else ""} folders / files of your root directory "
_other = ' other' if add_readme else ''
file_choice = sc.choose(f"Which{_other} folders / files of your root directory "
f"should be included in the {dp_name} upload?", options=options, default="a")
match file_choice:
case "a":
Expand Down

0 comments on commit 7ec9887

Please sign in to comment.