diff --git a/mermaid/__main__.py b/mermaid/__main__.py index 242e168..b962b60 100644 --- a/mermaid/__main__.py +++ b/mermaid/__main__.py @@ -53,9 +53,9 @@ def __init__( """ if scale: assert 1 <= scale <= 3, "Scale must be between 1 and 3" - assert any( - [width, height] - ), "One or both of width and height must be provided" + assert any([width, height]), ( + "One or both of width and height must be provided" + ) self.__position: str = position if isinstance(position, str) else position.value self.__height = height if height else None