Skip to content

Commit

Permalink
Black
Browse files Browse the repository at this point in the history
  • Loading branch information
ways committed Sep 24, 2024
1 parent 56e45cf commit 79a4b5a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sedr/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ def set_up_logging(args, logfile=None) -> logging.Logger:
try:
with open(file=logfile, mode="w", encoding="utf-8") as f:
f.write(
f"SEDR version {__version__} on python {sys.version}, schemathesis " + \
f"{schemathesis.__version__} \nTesting url {args.url}, openapi {args.openapi}, " + \
f"openapi-version {args.openapi_version}.\n\n"
f"SEDR version {__version__} on python {sys.version}, schemathesis "
+ f"{schemathesis.__version__} \nTesting url {args.url}, openapi {args.openapi}, "
+ f"openapi-version {args.openapi_version}.\n\n"
)
except PermissionError as err:
print(
f"Could not write to logfile {logfile}: {err}\nIf you're running this as a docker " + \
"container, make sure you mount the log dir (docker run -v host-dir:container-dir) " + \
"and give log option to sedr using the container-dir (--log-file /container-dir/debug.log)."
f"Could not write to logfile {logfile}: {err}\nIf you're running this as a docker "
+ "container, make sure you mount the log dir (docker run -v host-dir:container-dir) "
+ "and give log option to sedr using the container-dir (--log-file /container-dir/debug.log)."
)
sys.exit(1)

Expand Down

0 comments on commit 79a4b5a

Please sign in to comment.