diff --git a/kivy_ios/toolchain.py b/kivy_ios/toolchain.py index e80929d..6beef56 100755 --- a/kivy_ios/toolchain.py +++ b/kivy_ios/toolchain.py @@ -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 diff --git a/kivy_ios/tools/external/xcassets.py b/kivy_ios/tools/external/xcassets.py index bbbb575..5e440e5 100644 --- a/kivy_ios/tools/external/xcassets.py +++ b/kivy_ios/tools/external/xcassets.py @@ -4,6 +4,7 @@ Icon and LaunchImage generator for iOS .. author:: Mathieu Virbel """ +# 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",