Skip to content

Commit cba20da

Browse files
committed
Do not use f-strings when not needed
1 parent 51c241a commit cba20da

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

example_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
def main():
17-
print(f"Set up test store...")
17+
print("Set up test store...")
1818
store = TestStore(url=API_URL)
1919
discover_ctx = TestContextStored(store)
2020
setup_logging()

examples/test_ctx_args.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def test_cmdline_parser(ctx):
1414
args, _ = parser.parse_known_args()
1515

1616
# Log the parsed arguments
17-
ctx.info(f"==== Parsed arguments:")
17+
ctx.info("==== Parsed arguments:")
1818
for key, value in vars(args).items():
1919
ctx.info(f" {key}: {value}")
2020

@@ -33,7 +33,7 @@ def test_with_ctx_args(ctx):
3333
args, _ = parser.parse_known_args()
3434

3535
# Log the parsed arguments
36-
ctx.debug(f"Parsed arguments:")
36+
ctx.debug("Parsed arguments:")
3737
for key, value in vars(args).items():
3838
ctx.debug(f" {key}: {value}")
3939

@@ -80,7 +80,7 @@ def test_file_operations(ctx):
8080
args = parser.parse_args(cli_args)
8181

8282
# Log the parsed arguments
83-
ctx.debug(f"File operation with arguments:")
83+
ctx.debug("File operation with arguments:")
8484
for key, value in vars(args).items():
8585
ctx.debug(f" {key}: {value}")
8686

examples/test_vcs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ def vcs_helper_function(ctx, file_path):
3636
# VCSInterface implementations
3737
vcs_helper = VCSHelper()
3838

39-
ctx.info(f"VCS Test")
40-
ctx.info(f"=============")
39+
ctx.info("VCS Test")
40+
ctx.info("=============")
4141
ctx.info(f"Testing file: {current_file}")
4242

4343
# Detect VCS

0 commit comments

Comments
 (0)