modules: fix format-strings without interpolation
Fix all occurrences of format-strings without any interpolation. pylint warns about those (and for some reason did not do so for our modules). A followup will fix the pylint tests, so make sure all the warnings are resolved.
This commit is contained in:
parent
fe6e58aa12
commit
faaa6c1a6b
4 changed files with 7 additions and 7 deletions
|
|
@ -78,8 +78,8 @@ def main(tree, output_dir, options, loop_client):
|
|||
size = options["size"]
|
||||
fs_type = options.get("fs_type", "ext4")
|
||||
|
||||
image = f"/var/tmp/osbuild-image.raw"
|
||||
mountpoint = f"/tmp/osbuild-mnt"
|
||||
image = "/var/tmp/osbuild-image.raw"
|
||||
mountpoint = "/tmp/osbuild-mnt"
|
||||
|
||||
subprocess.run(["truncate", "--size", str(size), image], check=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue