Skip to content

Commit

Permalink
blackened
Browse files Browse the repository at this point in the history
  • Loading branch information
rwb27 committed Jul 6, 2021
1 parent 6819f23 commit c52a66d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/labthings/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def get_docstring(obj: Any, remove_newlines=True) -> str:
if remove_newlines:
stripped = [line.strip() for line in ds.splitlines() if line]
return " ".join(stripped).replace("\n", " ").replace("\r", "")
return inspect.cleandoc(ds) # Strip spurious indentation/newlines
return inspect.cleandoc(ds) # Strip spurious indentation/newlines


def get_summary(obj: Any) -> str:
Expand Down
2 changes: 1 addition & 1 deletion src/labthings/views/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def get(cls):
"""
List running and completed actions.
Actions are run with `POST` requests. See the `POST` method for this URL for
Actions are run with `POST` requests. See the `POST` method for this URL for
details of the action. Sending a `GET` request to an action endpoint will return
action descriptions for each time the action has been run, including whether they
have completed, and any return values.
Expand Down

0 comments on commit c52a66d

Please sign in to comment.