def __init__(self, base_path, config):
self.base_path = Path(base_path).resolve()<EOL>self.excludes = compile_masks(config['<STR_LIT>'])<EOL>self._found = dict()<EOL>self._find(self.base_path)<EOL>self._found = dict([<EOL>(dirname, files)<EOL>for dirname, files in iteritems(self._found)<EOL>if files<EOL>])<EOL>
:param base_path: the path to the base of the project
:type base_path: str
:param config: the configuration to use when searching the project
:type config: dict