mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
Skip "module" whose name starts with ".".
This commit is contained in:
@@ -102,7 +102,7 @@ def main():
|
||||
for name in names:
|
||||
full = os.path.join(root, name)
|
||||
mod, ext = os.path.splitext(name)
|
||||
if mod in seen:
|
||||
if mod in seen or mod.startswith('.'):
|
||||
continue
|
||||
if ext in ['.pyi', '.py']:
|
||||
if match(full, args, blacklist):
|
||||
|
||||
Reference in New Issue
Block a user