Add type info to options['include_paths']
@@ -187,7 +187,9 @@ class CPlusPlusLanguage(Language):
return _cplusplus_list_depending_files(path.resolve(), CXX=env.CXX, joined_CXXFLAGS=joined_CXXFLAGS)
def bundle(self, path: pathlib.Path, *, basedir: pathlib.Path = pathlib.Path.cwd(), options: Dict[str, Any]) -> bytes:
- bundler = Bundler(iquotes=options['include_paths'])
+ include_paths: List[pathlib.Path] = options['include_paths']
+ assert isinstance(include_paths, list)
+ bundler = Bundler(iquotes=include_paths)
bundler.update(path)
return bundler.get()
