Merge pull request #496 from AndreMiras/feature/linting_update
🐛 fixes flake8 errors post update
This commit is contained in:
commit
47b21d034c
2 changed files with 4 additions and 3 deletions
|
@ -289,7 +289,7 @@ class Graph:
|
|||
graph = dict((k, set(v)) for k, v in self.graph.items())
|
||||
while graph:
|
||||
# Find all items without a parent
|
||||
leftmost = [l for l, s in graph.items() if not s]
|
||||
leftmost = [name for name, dep in graph.items() if not dep]
|
||||
if not leftmost:
|
||||
raise ValueError('Dependency cycle detected! %s' % graph)
|
||||
# If there is more than one, sort them for predictable order
|
||||
|
|
5
kivy_ios/tools/external/xcassets.py
vendored
5
kivy_ios/tools/external/xcassets.py
vendored
|
@ -4,6 +4,7 @@ Icon and LaunchImage generator for iOS
|
|||
|
||||
.. author:: Mathieu Virbel <mat@meltingrocks.com>
|
||||
"""
|
||||
# flake8: noqa (E121 mainly)
|
||||
|
||||
__all__ = ["launchimage"]
|
||||
|
||||
|
@ -14,7 +15,7 @@ from os.path import join, exists
|
|||
from os import makedirs
|
||||
|
||||
appicon_json = {
|
||||
"images": [ # noqa: E121
|
||||
"images": [
|
||||
{
|
||||
"idiom": "iphone",
|
||||
"size": "20x20",
|
||||
|
@ -338,7 +339,7 @@ appicon_json = {
|
|||
|
||||
|
||||
launchimage_json = {
|
||||
"images": [ # noqa: E121
|
||||
"images": [
|
||||
{
|
||||
"extent": "full-screen",
|
||||
"idiom": "iphone",
|
||||
|
|
Loading…
Reference in a new issue