(name)
return name
Make a name consistent regardless of source (environment or file)
Make a name consistent regardless of source (environment or file)
Make a name consistent regardless of source ( environment or file )
def _normalize_name(name):
    # type: (str) -> str
    """Make a name consistent regardless of source (environment or file)
    """
    name = name.lower().replace('_', '-')
    if name.startswith('--'):
        name = name[2:]  # only prefer long opts
    return name
def _normalize_name ( name ) : # type: (str) -> str name = name . lower ( ) . replace ( '_' , '-' ) if name . startswith ( '--' ) : name = name [ 2 : ] # only prefer long opts return name