awslabs / ecr-cleanup-lambda

A script to discover stale ECR images and take action on them with Lambda to help reduce costs.
Other
161 stars 96 forks source link

Update main.py to follow style guidelines #21

Closed CK-Ward closed 6 years ago

CK-Ward commented 6 years ago

A lot of the method names weren't consistent with snake_case, so I made all of those consistent I also formatted the spacing to be uniform and consistent with PEP8 standards

There's still more work to be done w/future discussion, such as splitting out lines, refactoring variables, and breaking discover_delete_images to smaller, more readable methods, but this is a solid place to start

CK-Ward commented 6 years ago

@anshrma