File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,7 +83,9 @@ def format_display_value(
8383 case datetime ():
8484 return value .strftime (presentation .python_date_format )
8585 case int () | float ():
86- return datetime .fromtimestamp (int (value ) / MILLISECOND_TO_SECOND ).strftime (presentation .python_date_format )
86+ return datetime .fromtimestamp (int (value ) / MILLISECOND_TO_SECOND ).strftime (
87+ presentation .python_date_format
88+ )
8789 case _:
8890 return str (value ) if value is not None else ''
8991
Original file line number Diff line number Diff line change @@ -104,9 +104,7 @@ class RuntimeFieldBinding:
104104 def make_unique_label (self , * , label : Label ) -> UniqueLabel :
105105 if self .parent_label is None :
106106 raise RuntimeError (msg (MessageKey .PARENT_LABEL_EMPTY_RUNTIME ))
107- unique_label = (
108- f'{ self .parent_label } { UNIQUE_HEADER_CONNECTOR } { label } ' if self .parent_label != label else label
109- )
107+ unique_label = f'{ self .parent_label } { UNIQUE_HEADER_CONNECTOR } { label } ' if self .parent_label != label else label
110108 return UniqueLabel (unique_label )
111109
112110 def make_unique_key (self , * , key : Key | None ) -> UniqueKey :
@@ -158,7 +156,9 @@ def comment_hint(self) -> str:
158156 def comment_options (self ) -> str :
159157 if self .options is None :
160158 return ''
161- return dmsg (MessageKey .COMMENT_OPTIONS , value = MULTI_CHECKBOX_SEPARATOR .join (option .name for option in self .options ))
159+ return dmsg (
160+ MessageKey .COMMENT_OPTIONS , value = MULTI_CHECKBOX_SEPARATOR .join (option .name for option in self .options )
161+ )
162162
163163 @property
164164 def comment_fraction_digits (self ) -> str :
You can’t perform that action at this time.
0 commit comments