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

pylintrc: re-enable unused-private-member check #935

Closed mustafakemalgilor closed 1 month ago

mustafakemalgilor commented 1 month ago

the only offender of this check was the plugin summary functions that are named in "__[d]+_summary" format. Added the new summary_function decorator that stores the summary function metadata (name, index) into the decorated function (i.e. summary function). Decorated functions in such manner get automatically picked up by the PluginPartBase class.

mustafakemalgilor commented 1 month ago

@dosaboy I've made the changes, ready for review.