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
31 stars 37 forks source link

Fix some pylint warnings #821

Closed brianphaley closed 4 months ago

brianphaley commented 4 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 4 months ago

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