Fix type error: no attribute "thickness" [attr-defined]

This commit is contained in:
Rotzbua 2023-04-11 21:13:29 +02:00 committed by Florian Festi
parent dbfdc46269
commit b9a14c1793
1 changed files with 3 additions and 0 deletions

View File

@ -312,6 +312,9 @@ class Boxes:
"cli_short" : "", "cli_short" : "",
} }
# Dummy attribute for static analytic tools. Will be overwritten by `argparser` at runtime.
self.thickness: float = 0.0
self.argparser._action_groups[1].title = self.__class__.__name__ + " Settings" self.argparser._action_groups[1].title = self.__class__.__name__ + " Settings"
defaultgroup = self.argparser.add_argument_group( defaultgroup = self.argparser.add_argument_group(
"Default Settings") "Default Settings")