summaryrefslogtreecommitdiffstats
path: root/docs/docsite/rst/dev_guide/testing/sanity/empty-init.rst
blob: e87bb71ed60dbaebf4d4db4202b0a490b3334f3f (plain)
1
2
3
4
5
6
7
8
9
10
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/``