diff --git a/adl2pydm/output_handler.py b/adl2pydm/output_handler.py index a4fe5bf..e3a0d79 100644 --- a/adl2pydm/output_handler.py +++ b/adl2pydm/output_handler.py @@ -284,7 +284,12 @@ def write_font_size(self, qw, block, **kwargs): smallest = 4 largest = 10 margin = 3 - pointsize = int(max(smallest, min(largest, block.geometry.height - 2 * margin))) + pointsize = int( + max( + smallest, + min(largest, block.geometry.height - 2 * margin) + ) + ) propty = self.writer.writeOpenProperty(qw, "font", stdset="0") font = self.writer.writeOpenTag(propty, "font")