ansible / ansible-runner

A tool and python library that helps when interfacing with Ansible directly or as part of another system whether that be through a container image interface, as a standalone tool, or as a Python module that can be imported. The goal is to provide a stable and consistent interface abstraction to Ansible.
Other
969 stars 357 forks source link

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

Closed Shrews closed 1 year ago

Shrews commented 1 year ago

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.