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:
Shubham Naik 2021-01-31 23:46:56 +05:30 committed by Oliver Smith
parent 4474927141
commit d1fadba5b4
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
6 changed files with 64 additions and 50 deletions

View file

@ -92,9 +92,13 @@ py_files="
pmb/install/recovery.py
pmb/install/ui.py
pmb/parse/__init__.py
pmb/parse/_apkbuild.py
pmb/parse/apkindex.py
pmb/parse/arch.py
pmb/parse/arguments.py
pmb/parse/binfmt_info.py
pmb/parse/cpuinfo.py
pmb/parse/deviceinfo.py
pmb/parse/version.py
pmb/qemu/__init__.py
pmb/sideload/__init__.py
@ -126,6 +130,7 @@ py_files="
test/test_keys.py
test/test_mount.py
test/test_newapkbuild.py
test/test_parse_apkbuild.py
test/test_parse_apkindex.py
test/test_parse_deviceinfo.py
test/test_questions.py