From c0cbe37fbd341fccfd9061c81af0866ac9271741 Mon Sep 17 00:00:00 2001 From: Sibo Van Gool Date: Thu, 1 Aug 2024 15:05:38 +0200 Subject: [PATCH] Fix pylint --- src/TMC_2209/_TMC_2209_uart.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TMC_2209/_TMC_2209_uart.py b/src/TMC_2209/_TMC_2209_uart.py index 939a116..6274d45 100644 --- a/src/TMC_2209/_TMC_2209_uart.py +++ b/src/TMC_2209/_TMC_2209_uart.py @@ -151,7 +151,8 @@ def read_int(self, register, tries=10, bypass_serial=False): Args: register (int): HEX, which register to read tries (int): how many tries, before error is raised (Default value = 10) - bypass_serial (bool): if True, the serial connection is not checked (Default value = False) + bypass_serial (bool): if True, the serial connection is not checked + (Default value = False) """ if not bypass_serial and self.ser is None: self.tmc_logger.log("Cannot read int, serial is not initialized", Loglevel.ERROR)