mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
collate: docstring addships()
This commit is contained in:
parent
1e1e06c03b
commit
472d7178a3
@ -144,8 +144,8 @@ def addmodules(data): # noqa: C901, CCR001
|
|||||||
print(f'Added {len(modules) - size_pre} new modules')
|
print(f'Added {len(modules) - size_pre} new modules')
|
||||||
|
|
||||||
|
|
||||||
# keep a summary of ships found
|
def addships(data) -> None: # noqa: CCR001
|
||||||
def addships(data):
|
"""Keep a summary of ships found."""
|
||||||
if not data['lastStarport'].get('ships'):
|
if not data['lastStarport'].get('ships'):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user