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.
self.base_module_paths.pop('__init__.py', None)
        self.head_aliased_modules = set()
        for path in self.head_tree:
            filename = os.path.basename(path)
            if filename.startswith('_') and filename != '__init__.py':
                if os.path.islink(path):
                    self.head_aliased_modules.add(os.path.basename(os.path.realpath(path)))
    def _get_module_files(self):
        module_files = []
        for (dir_path, dir_names, file_names) in os.walk(self.rel_path):
            for file_name in file_names:
                module_files.append(os.path.join(dir_path, file_name))
        return module_files
    @staticmethod
    def _git(args):
        cmd = ['git'] + args
        p = subprocess.run(cmd, stdin=subprocess.DEVNULL, capture_output=True, text=True, check=False)
        if p.returncode != 0:
            raise GitError(p.stderr, p.returncode)
        return p.stdout.splitlines()
class GitError(Exception):
    def __init__(self, message, status):
        super(GitError, self).__init__(message)
        self.status = status
def main():
    try:
        run()
    except KeyboardInterrupt:
        pass