1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 07:47:14 +03:00

collate: docstring addships()

This commit is contained in:
Athanasius 2021-04-06 16:51:55 +01:00
parent 1e1e06c03b
commit 472d7178a3

View File

@ -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