Skip to content

Commit

Permalink
Remove Unnecessary F-strings
Browse files Browse the repository at this point in the history
  • Loading branch information
pixeebot committed Jan 23, 2024
1 parent 651c822 commit eee794e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/flynt/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def fstringify_code(
if not len(ast_before.body) == len(ast_after.body):
log.error(
f"Faulty result during conversion on {filename}: "
f"statement count has changed, which is not intended - skipping.",
"statement count has changed, which is not intended - skipping.",
)
return None
return result
Expand Down
2 changes: 1 addition & 1 deletion src/flynt/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def run_flynt_cli(arglist: Optional[List[str]] = None) -> int:
supported_args.sort()
warnings.warn(
f"Unknown config options: {redundant}. "
f"This might be a spelling problem. "
"This might be a spelling problem. "
f"Supported options are: {supported_args}",
)
parser.set_defaults(**cfg)
Expand Down

0 comments on commit eee794e

Please sign in to comment.