mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-19 10:21:14 +08:00
Hack for mypy issue #1254.
This commit is contained in:
@@ -64,6 +64,8 @@ def main():
|
||||
for file in files:
|
||||
if file == '__builtin__.pyi':
|
||||
continue # Special case (alias for builtins.py).
|
||||
if file == 'typing.pyi':
|
||||
continue # Hack for https://github.com/python/mypy/issues/1254
|
||||
if file.endswith('.pyi') or file.endswith('.py'):
|
||||
full = os.path.join(dir, file)
|
||||
if match(args, full):
|
||||
|
||||
Reference in New Issue
Block a user