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.
"""Print out the test results in json format
        warnings is not respected in this output
        """
        ret = [len(r['errors']) for r in self.files.values()]
        with Reporter._output_handle(output) as handle:
            print(json.dumps(Reporter._filter_out_ok(self.files), indent=4, cls=ReporterEncoder), file=handle)
        return 3 if sum(ret) else 0
class Validator(with_metaclass(abc.ABCMeta, object)):
    """Validator instances are intended to be run on a single object.  if you
    are scanning multiple objects for problems, you'll want to have a separate
    Validator for each one."""
    def __init__(self, reporter=None):
        self.reporter = reporter
    @property
    @abc.abstractmethod
    def object_name(self):
        """Name of the object we validated"""
        pass
    @property
    @abc.abstractmethod
    def object_path(self):
        """Path of the object we validated"""
        pass
    @abc.abstractmethod
    def validate(self):
        """Run this method to generate the test results"""
        pass
class ModuleValidator(Validator):