From 0d3bdedf897ece6c0789712c658710e93b2e03ba Mon Sep 17 00:00:00 2001 From: Philipp Schmitt Date: Fri, 29 Nov 2024 21:01:59 +0100 Subject: [PATCH] fmt docstrings --- pyproject.toml | 2 +- roombapy/roomba.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0f3a6fb..8d0811d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" [tool.ruff] -line-length = 80 +line-length = 79 [tool.ruff.lint] ignore = [ diff --git a/roombapy/roomba.py b/roombapy/roomba.py index eb45b35..4a18edf 100644 --- a/roombapy/roomba.py +++ b/roombapy/roomba.py @@ -1,6 +1,6 @@ """Python 3.* (thanks to pschmitt for adding Python 3 compatibility). -Program to connect to Roomba 980 vacuum cleaner, dcode json, and forward to mqtt +Program to connect to Roomba vacuum cleaners, dcode json, and forward to mqtt server. Nick Waterton 24th April 2017: V 1.0: Initial Release Nick Waterton 4th July 2017 V 1.1.1: Fixed MQTT protocol version, and map @@ -63,8 +63,8 @@ class Roomba: The values received from the Roomba as stored in a dictionary called master_state, and can be accessed at any time, the contents are live, and will build with time after connection. - This is not needed if the forward to mqtt option is used, as the events will - be decoded and published on the designated mqtt client topic. + This is not needed if the forward to mqtt option is used, as the events + will be decoded and published on the designated mqtt client topic. """ def __init__(