https://github.com/ansible/ansible/blob/1706d35fc476e36fcced25435c2f1c2401536376/test/lib/ansible_test/_util/controller/sanity/validate-modules/validate_modules/main.py#L414

When a module is in place to provide documentation for an action, it should be allowed to have a doc string.

Without a docstring users of pydocstring will need to suppress:

```
************* Module plugins.modules.git_away
plugins/modules/git_away.py:1:0: C0114: Missing module docstring (missing-module-docstring)
************* Module plugins.modules.git_here
plugins/modules/git_here.py:1:0: C0114: Missing module docstring (missing-module-docstring)
```

With a doc string the module is treated as a "real" module and fails sanity:

```
ansible-module-not-initialized: Execution of the module did not result in initialization of AnsibleModule
```

PEP257 suggests modules should have a docstring, and is generally considered a good practice to inform future developers of the purpose of the file and can be used for documentation generation as well.
def __init__(self, base_branch, plugin_type):
        self.base_branch = base_branch
        self.plugin_type = plugin_type
        self.rel_path = 'lib/ansible/modules/'
        if plugin_type != 'module':
            self.rel_path = 'lib/ansible/plugins/%s/' % plugin_type
        if self.base_branch:
            self.base_tree = self._git(['ls-tree', '-r', '--name-only', self.base_branch, self.rel_path])
        else:
            self.base_tree = []
        try:
            self.head_tree = self._git(['ls-tree', '-r', '--name-only', 'HEAD', self.rel_path])
        except GitError as ex:
            if ex.status == 128:
                
                self.head_tree = self._get_module_files()
            else:
                raise
        except OSError as ex:
            if ex.errno == errno.ENOENT:
                
                self.head_tree = self._get_module_files()
            else:
                raise
        allowed_exts = ('.py', '.ps1')
        if plugin_type != 'module':
            allowed_exts = ('.py', )
        self.base_module_paths = dict((os.path.basename(p), p) for p in self.base_tree if os.path.splitext(p)[1] in allowed_exts)