From 472d7178a359a0626d018a594d7e9643656997eb Mon Sep 17 00:00:00 2001 From: Athanasius Date: Tue, 6 Apr 2021 16:51:55 +0100 Subject: [PATCH] collate: docstring addships() --- collate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collate.py b/collate.py index e46902e6..a47b4a45 100755 --- a/collate.py +++ b/collate.py @@ -144,8 +144,8 @@ def addmodules(data): # noqa: C901, CCR001 print(f'Added {len(modules) - size_pre} new modules') -# keep a summary of ships found -def addships(data): +def addships(data) -> None: # noqa: CCR001 + """Keep a summary of ships found.""" if not data['lastStarport'].get('ships'): return