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