ansible/docs/docsite/rst/dev_guide/testing/sanity/empty-init.rst

11 lines
418 B
ReStructuredText
Raw Normal View History

Sanity Tests » empty-init
=========================
The ``__init__.py`` files under the following directories must be empty. For some of these (modules
and tests), ``__init__.py`` files with code won't be used. For others (module_utils), we want the
possibility of using Python namespaces which an empty ``__init__.py`` will allow for.
- ``lib/ansible/modules/``
- ``lib/ansible/module_utils/``
- ``test/units/``