Skip to content

Commit 169f39e

Browse files
committed
Ignore stubgen errors
1 parent 9799605 commit 169f39e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def generate_pyi(self, cwd):
168168
shutil.rmtree(temp_pyi_dir, ignore_errors=True)
169169
shutil.rmtree(final_pyi_dir, ignore_errors=True)
170170

171-
self.spawn(["stubgen", "--output", library_dir, "-p", project_name])
171+
self.spawn(["stubgen", "--ignore-errors", "--output", library_dir, "-p", project_name])
172172

173173
if os.path.isdir(project_name):
174174
shutil.copytree(project_name, final_pyi_dir)

0 commit comments

Comments
 (0)