forked from Mirror/pmbootstrap
Enforce E501: Limit the line length to 79 for files in pmb/parse - part 1 (MR 2019)
Made changes to limit the line length in following files, - pmb/parse/_apkbuild.py - pmb/parse/apkindex.py - pmb/parse/binfmt_info.py - pmb/parse/deviceinfo.py - test/test_parse_apkbuild.py Added the above files in E501 flake8 command list. Substitute f-string for string concatenation.
This commit is contained in:
parent
4474927141
commit
d1fadba5b4
6 changed files with 64 additions and 50 deletions
|
@ -26,8 +26,8 @@ def binfmt_info(args, arch_qemu):
|
|||
for type in ["mask", "magic"]:
|
||||
key = arch_qemu + "_" + type
|
||||
if key not in full:
|
||||
raise RuntimeError("Could not find key " + key + " in binfmt info file: " +
|
||||
info)
|
||||
raise RuntimeError(
|
||||
f"Could not find key {key} in binfmt info file: {info}")
|
||||
ret[type] = full[key]
|
||||
logging.verbose("=> " + str(ret))
|
||||
return ret
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue