def detect_style(docstr):
    docstr = dedent_docstr(docstr)

    for c in STYLE_LOOKUP.values():
        if c.detect_style(docstr):
            return c
    return None
:return bytes: A hash of the configuration.
dataset/ETHPy150Open KristoforMaynard/SublimeAutoDocstring/docstring_styles.py/detect_style--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/_persistence.py/ConfigurationPersistenceService.configuration_hash