Skip to content

Commit 1498438

Browse files
committed
Only check stubs/pyunity/ and not build dir stubs
1 parent 8dcf01a commit 1498438

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎prepare.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def checkMissing():
263263
global moduleVars
264264
moduleVars = {}
265265
getPackages("pyunity")
266-
for file in glob.glob("stubs/**/*.pyi", recursive=True):
266+
for file in glob.glob("stubs/pyunity/*.pyi", recursive=True):
267267
moduleName = file[6:-4].replace(os.path.sep, ".")
268268
if moduleName.endswith(".__init__"):
269269
# Needs special handling, better to do manually

0 commit comments

Comments
 (0)