Skip to content

Commit aee9682

Browse files
author
Joel Collins
committed
Fixed FLK-W291
1 parent 1f668ef commit aee9682

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

labthings/core/tasks/pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __init__(self, *args, **kwargs):
1515
def tasks(self):
1616
"""
1717
Returns:
18-
list: List of TaskThread objects.
18+
list: List of TaskThread objects.
1919
"""
2020
return self._tasks
2121

labthings/server/extensions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def find_instances_in_module(module, class_to_find):
105105
class_to_find (class): Python class to search for instances of
106106
107107
Returns:
108-
list: List of objects derived from `class_to_find`
108+
list: List of objects derived from `class_to_find`
109109
"""
110110
objs = []
111111
for attribute in dir(module):
@@ -121,7 +121,7 @@ def find_extensions_in_file(extension_path: str, module_name="extensions") -> li
121121
122122
Args:
123123
extension_path (str): Path to the extension file
124-
module_name (str, optional): Name of the module to load extensions into.
124+
module_name (str, optional): Name of the module to load extensions into.
125125
Defaults to "extensions".
126126
127127
Returns:
@@ -152,7 +152,7 @@ def find_extensions(extension_dir: str, module_name="extensions") -> list:
152152
153153
Args:
154154
extension_dir (str): Path to directory contatining extension files
155-
module_name (str, optional): Name of the module to load extensions into.
155+
module_name (str, optional): Name of the module to load extensions into.
156156
Defaults to "extensions".
157157
158158
Returns:

labthings/server/quick.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ def create_app(
2323
title (str, optional): Title/name of the LabThings Thing.
2424
description (str, optional): Brief description of the LabThings Thing.
2525
version (str, optional): Version number/code of the Thing. Defaults to "0.0.0".
26-
handle_errors (bool, optional): Use the LabThings error handler,
26+
handle_errors (bool, optional): Use the LabThings error handler,
2727
to JSON format internal exceptions. Defaults to True.
28-
handle_cors (bool, optional): Automatically enable CORS on all LabThings views.
28+
handle_cors (bool, optional): Automatically enable CORS on all LabThings views.
2929
Defaults to True.
3030
flask_kwargs (dict, optional): Keyword arguments to pass to the Flask instance.
3131

0 commit comments

Comments
 (0)