Merge pull request #496 from AndreMiras/feature/linting_update

🐛 fixes flake8 errors post update
This commit is contained in:
Andre Miras 2020-05-13 18:02:22 +02:00 committed by GitHub
commit 47b21d034c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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",