From 686e1f5652844fd1df34ab8e153b41143b334cf4 Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson <oscar.gustafsson@gmail.com> Date: Mon, 30 Jan 2023 12:15:29 +0100 Subject: [PATCH] Skip Optional for arguments --- b_asic/scheduler_gui/axes_item.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/b_asic/scheduler_gui/axes_item.py b/b_asic/scheduler_gui/axes_item.py index e45e4996..39bb40a0 100644 --- a/b_asic/scheduler_gui/axes_item.py +++ b/b_asic/scheduler_gui/axes_item.py @@ -51,10 +51,10 @@ class AxesItem(QGraphicsItemGroup): self, width: int, height: int, - width_indent: Optional[float] = 0.2, - height_indent: Optional[float] = 0.2, - width_padding: Optional[float] = 0.6, - height_padding: Optional[float] = 0.5, + width_indent: float = 0.2, + height_indent: float = 0.2, + width_padding: float = 0.6, + height_padding: float = 0.5, parent: Optional[QGraphicsItem] = None, ): """ -- GitLab