Skip to content

Commit

Permalink
use format over %
Browse files Browse the repository at this point in the history
  • Loading branch information
sugarmanz committed Jun 24, 2022
1 parent 3b8fdaa commit 1fa1354
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/scope_name.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ def scope_name(name, suffix):
if name == native.package_name().split("/")[-1]:
return suffix

return "%s-%s" % (name, suffix)

return "{}-{}".format(name, suffix)

0 comments on commit 1fa1354

Please sign in to comment.