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
957 stars 352 forks source link

Pylint not running against test files #1313

Closed Shrews closed 1 year ago

Shrews commented 1 year ago

We invoke pytest against our test directory in tox.ini, however, it isn't actually linting the test source files because we do not have __init__.py files in the unit or integration subdirectories (pylint accepts a list of python modules and packages, not directories). We need to add __init__.py to any subdirectories with sources files and fix the failures we are missing.