summaryrefslogtreecommitdiff
path: root/wasp/apps/steps.py
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2021-01-13 21:51:17 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2021-01-13 21:51:17 (GMT)
commit39d87830558540fefad1d4dd24a14f273bd4d5a7 (patch)
tree3a313419861c91ce19b47f9c6e865b55af160077 /wasp/apps/steps.py
parentf7ef1654339b05989f0cdfc9ff5ab78ca03300b6 (diff)
simulator: test_qa: Add some basic docstring tests
This one picked up a lot of inconsistancy so the changes here are pretty big. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'wasp/apps/steps.py')
-rw-r--r--wasp/apps/steps.py19
1 files changed, 12 insertions, 7 deletions
diff --git a/wasp/apps/steps.py b/wasp/apps/steps.py
index c7899a6..8945d5f 100644
--- a/wasp/apps/steps.py
+++ b/wasp/apps/steps.py
@@ -1,6 +1,17 @@
# SPDX-License-Identifier: LGPL-3.0-or-later
# Copyright (C) 2020 Daniel Thompson
+"""Step counter
+~~~~~~~~~~~~~~~
+
+Provide a daily step count.
+
+ .. figure:: res/StepsApp.png
+ :width: 179
+
+The step counts automatically reset at midnight.
+"""
+
import wasp
import fonts
@@ -30,13 +41,7 @@ feet = (
)
class StepCounterApp():
- """Step counter application.
-
- .. figure:: res/StepsApp.png
- :width: 179
-
- Screenshot of the step counter application
- """
+ """Step counter application."""
NAME = 'Steps'
ICON = icons.app