From 7ce4453b3d3a0f182e643286c0f5ae237fa6b705 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Tue, 15 Aug 2023 00:37:04 +0200 Subject: [PATCH] fix formatting --- src/escpos/escpos.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/escpos/escpos.py b/src/escpos/escpos.py index 5e92399..d4c3a81 100644 --- a/src/escpos/escpos.py +++ b/src/escpos/escpos.py @@ -737,9 +737,9 @@ class Escpos(object): barcode_type, data, impl: str = "bitImageColumn", - module_height: int | float = 5, - module_width: int | float = 0.2, - text_distance: int | float = 5, + module_height: (int | float) = 5, + module_width: (int | float) = 0.2, + text_distance: (int | float) = 5, font_size: int = 10, center: bool = True, ): @@ -783,13 +783,13 @@ class Escpos(object): * bitImageRaster :param module_height: barcode module height (in mm). - :type module_height: int | float + :type module_height: (int | float) :param module_width: barcode module width (in mm). - :type module_width: int | float + :type module_width: (int | float) :param text_distance: distance from the barcode to the code text (in mm). - :type text_distance: int | float + :type text_distance: (int | float) :param font_size: font size of the code text (in dots). :type font_size: int