Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-enable pylint duplicate-code check #956

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

dosaboy
Copy link
Member

@dosaboy dosaboy commented Jul 28, 2024

No description provided.

@dosaboy dosaboy force-pushed the pylint-enable-duplicate-code branch from 0a4e44a to abd86a3 Compare July 28, 2024 16:37
hotsos/core/plugintools.py Outdated Show resolved Hide resolved
hotsos/core/plugintools.py Outdated Show resolved Hide resolved
The bulk of the changes in this patch are to the plugin_extensions
that implement summary output. Most plugins have some entries in
common and those are now moved to a base class so that they don't
need to be redefined by each plugin.

Also optimises some of the hosthelpers and checks implementations
to satisfy the duplicate-code check. Some disables have been used
where it was deemed that fixing the code would introduce too much
instability and this can be addressed in future patches.
@dosaboy dosaboy force-pushed the pylint-enable-duplicate-code branch from abd86a3 to a064b72 Compare July 29, 2024 08:22
Copy link
Contributor

@xmkg xmkg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@dosaboy dosaboy merged commit dd51c3f into canonical:main Jul 29, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants