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

pylint: Fix remaining pylint refactor (Rxxxx) problems #1281

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

Shrews
Copy link
Contributor

@Shrews Shrews commented Jul 25, 2023

Corrects many of the refactor suggestions from pylint. Some others are ignored (too-many-* and too-few-*, for example) because of the work required to rewrite the code.

Tests for check_isolation_executable_installed() were required to be modified (due to adding use of context manager for Popen()) to be much simpler and not require Mock-ing the world.

@github-actions github-actions bot added needs_triage New item that needs to be triaged test Changes to test files labels Jul 25, 2023
@Shrews Shrews marked this pull request as ready for review July 25, 2023 18:59
@Shrews Shrews requested a review from a team as a code owner July 25, 2023 18:59
@Akasurde Akasurde added code_health Issue/PR improves codebase health and removed needs_triage New item that needs to be triaged labels Jul 25, 2023
@Shrews Shrews merged commit ff45cba into ansible:devel Jul 26, 2023
11 checks passed
@Shrews Shrews deleted the pylint-refactors branch July 26, 2023 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code_health Issue/PR improves codebase health test Changes to test files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants