Skip to content

Commit 249a684

Browse files
committed
Fix f-string is missing placeholders errors
1 parent 3a27ea9 commit 249a684

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/labels/cli.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,21 +263,21 @@ def dryrun_echo(
263263
"""Print information about how labels would be updated on sync."""
264264

265265
if labels_to_delete:
266-
click.echo(f"This would delete the following labels:")
266+
click.echo("This would delete the following labels:")
267267
for name in labels_to_delete:
268268
click.echo(f" - {name}")
269269

270270
if labels_to_update:
271-
click.echo(f"This would update the following labels:")
271+
click.echo("This would update the following labels:")
272272
for name in labels_to_update:
273273
click.echo(f" - {name}")
274274

275275
if labels_to_create:
276-
click.echo(f"This would create the following labels:")
276+
click.echo("This would create the following labels:")
277277
for name in labels_to_create:
278278
click.echo(f" - {name}")
279279

280280
if labels_to_ignore:
281-
click.echo(f"This would NOT modify the following labels:")
281+
click.echo("This would NOT modify the following labels:")
282282
for name in labels_to_ignore:
283283
click.echo(f" - {name}")

src/labels/github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def list_labels(self, repo: Repository) -> List[Label]:
8484

8585
while next_page is not None:
8686

87-
logger.debug(f"Requesting next page of labels")
87+
logger.debug("Requesting next page of labels")
8888
response = self.session.get(next_page["url"], headers=headers)
8989

9090
if response.status_code != 200:

src/labels/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def load_repository_info(remote_name: str = "origin") -> typing.Optional[Reposit
2727
)
2828

2929
if proc.returncode != 0:
30-
logger.debug(f"Error running git remote get-url.")
30+
logger.debug("Error running git remote get-url.")
3131
return None
3232

3333
remote_url = proc.stdout.strip()

0 commit comments

Comments
 (0)