Reformat with Black.

This commit is contained in:
Sergey Vartanov 2021-07-11 03:12:14 +03:00
parent 9613ec2cd4
commit 070ed05c8c
12 changed files with 157 additions and 117 deletions

View file

@ -254,8 +254,12 @@ class ShapeSpecification:
use_outline = structure["outline"]
return cls(
shape, color, offset, flip_horizontally, flip_vertically,
use_outline
shape,
color,
offset,
flip_horizontally,
flip_vertically,
use_outline,
)
def is_default(self) -> bool:
@ -424,10 +428,9 @@ class Icon:
)
def __lt__(self, other) -> bool:
return (
"".join([x.shape.id_ for x in self.shape_specifications])
< "".join([x.shape.id_ for x in other.shape_specifications])
)
return "".join(
[x.shape.id_ for x in self.shape_specifications]
) < "".join([x.shape.id_ for x in other.shape_specifications])
@dataclass