boroivanov/ecr-tools

View on GitHub

Showing 1 of 4 total issues

Function images has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
Open

def images(ctx, repo, image, count, units, exact_match):
'''List images in a repo'''
 
ecr = Ecr(ctx['ecr'], repo)
if image == '':
Severity: Minor
Found in ecrtools/commands/images.py - About 1 hr to fix
Severity
Category
Status
Source
Language