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