forked from Mirror/pmbootstrap
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:
parent
d1fadba5b4
commit
684cb3e1fb
5 changed files with 63 additions and 47 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue