Back to Ansible

empty-init

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

2.21.0b3386 B
Original Source

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/