Enforce E501: Limit the line length to 79 for files in pmb/parse - part 2 (MR 2020)

Made changes to limit the line length in following files,
 - pmb/parse/bootimg.py
 - pmb/parse/depends.py
 - pmb/parse/kconfig.py
 - test/test_parse_depends.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:51:56 +05:30 committed by Oliver Smith
parent d1fadba5b4
commit 684cb3e1fb
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
5 changed files with 63 additions and 47 deletions

View file

@ -75,7 +75,8 @@ def test_package_provider(args, monkeypatch):
# 5. Pick package with highest priority
package_with_priority = {"pkgname": "test-priority", "provides": ["test"],
"provider_priority": 100}
providers = {"test-two": package_two, "test-priority": package_with_priority}
providers = {"test-two": package_two,
"test-priority": package_with_priority}
assert func(args, pkgname, pkgnames_install) == package_with_priority
# 6. Pick the first one