Skip to content

Commit

Permalink
black fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Julia Putko committed Feb 12, 2024
1 parent c42ac83 commit ca84b72
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions smartsim/_core/control/previewrenderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,7 @@ def _check_verbosity_level(
Check that the given verbosity level is valid.
"""
if verbosity_level not in (Verbosity.INFO, Verbosity.DEBUG, Verbosity.DEVELOPER):
logger.warning(
f"'{verbosity_level}' is an unsupported verbosity level.\
Setting verbosity to: {Verbosity.INFO}"
)
logger.warning(f"'{verbosity_level}' is an unsupported verbosity level.\

Check warning on line 117 in smartsim/_core/control/previewrenderer.py

View check run for this annotation

Codecov / codecov/patch

smartsim/_core/control/previewrenderer.py#L116-L117

Added lines #L116 - L117 were not covered by tests
Setting verbosity to: {Verbosity.INFO}")
return Verbosity.INFO
return verbosity_level

Check warning on line 120 in smartsim/_core/control/previewrenderer.py

View check run for this annotation

Codecov / codecov/patch

smartsim/_core/control/previewrenderer.py#L119-L120

Added lines #L119 - L120 were not covered by tests

0 comments on commit ca84b72

Please sign in to comment.