Skip to content

Commit c398316

Browse files
committed
fix: black issue
1 parent 32953ba commit c398316

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

silverback/_cli.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,7 @@ def run(cli_ctx, account, runner_class, recorder_class, max_exceptions, path):
124124
f"You should have a `bots/` folder in the root of your project."
125125
)
126126
elif not path.exists():
127-
raise FileNotFoundError(
128-
f"The bot.py file does not exist in the bots directory."
129-
)
127+
raise FileNotFoundError(f"The bot.py file does not exist in the bots directory.")
130128
path = f"{path.parent.name}.{path.name.replace('.py', '')}:bot"
131129

132130
app = import_from_string(path)
@@ -144,7 +142,7 @@ def generate_dockerfiles():
144142
files = {file for file in path.iterdir() if file.is_file()}
145143
bots = []
146144
for file in files:
147-
if '__init__' in file.name:
145+
if "__init__" in file.name:
148146
if not click.confirm(
149147
"There is an __init__.py file in the bots directory,\n"
150148
"making the bots/ directory a python package.\n"

0 commit comments

Comments
 (0)