canonical / hotsos

Software analysis toolkit. Define checks in high-level language and leverage library to perform analysis of common Cloud applications.
Apache License 2.0
33 stars 38 forks source link

Fix some pylint warnings #821

Closed brianphaley closed 7 months ago

brianphaley commented 7 months ago

find_most_recent_start() was using None as a default value, changed to use {} as it was confusing pylint, unsubscriptable-object warning.

consider-using-with is now enforced as there are no longer any occurences of code triggering it.

dosaboy commented 7 months ago

@brianphaley i attempted to resolve the pylintrc conflict through the github interface but not sure how it will turn out