def separate_globs(globs):
    """Separate include and exclude globs."""
    exclude = []
    include = []
    for path in globs:
        if path.startswith('!'):
            exclude.append(path[1:])
        else:
            include.append(path)
    return exclude, include
