Skip to content

Commit 2a342ea

Browse files
committed
chore: consistent string formatting
1 parent 0ad0119 commit 2a342ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doxygen/doxygen.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ collect_files_aspect = aspect(
5656

5757
def _doxygen_impl(ctx):
5858
doxyfile_prefix = ctx.attr.doxyfile_prefix
59-
doxyfile = ctx.actions.declare_file("{}/Doxyfile".format(doxyfile_prefix) if doxyfile_prefix else "Doxyfile")
59+
doxyfile = ctx.actions.declare_file("%s/Doxyfile" % doxyfile_prefix if doxyfile_prefix else "Doxyfile")
6060

6161
output_group_info = {}
6262
outs = []
@@ -144,7 +144,7 @@ doxygen(
144144
"deps": attr.label_list(aspects = [collect_files_aspect], doc = "List of dependencies targets whose files present in the 'src', 'hdrs' and 'data' attributes will be collected to generate the documentation. Transitive dependencies are also taken into account. Since we are only considering the source files and not the outputs, these targets **will not** be built"),
145145
"configurations": attr.string_list(doc = "Additional configuration parameters to append to the Doxyfile. For example, to set the project name, use `PROJECT_NAME = example`."),
146146
"outs": attr.string_list(default = ["html"], allow_empty = False, doc = """Output folders to keep. If only the html outputs is of interest, the default value will do. Otherwise, a list of folders to keep is expected (e.g. `["html", "latex"]`)."""),
147-
"doxyfile_prefix" : attr.string(doc = "Prefix to add to doxyfile path.", default= ""),
147+
"doxyfile_prefix" : attr.string(doc = "Prefix to add to Doxyfile path.", default= ""),
148148
"doxyfile_template": attr.label(
149149
allow_single_file = True,
150150
default = Label(":Doxyfile.template"),

0 commit comments

Comments
 (0)