Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0376733

Browse files
committed
Add another vendored package naming convention
1 parent b3fdff8 commit 0376733

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mypy/stubgen.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,16 @@
9797
'vendor',
9898
'vendored',
9999
'_vendor',
100+
'_vendored_packages',
100101
]
101102

102103
# Avoid some file names that are unnecessary or likely to cause trouble (\n for end of path).
103104
BLACKLIST = [
104105
'/six.py\n', # Likely vendored six; too dynamic for us to handle
105106
'/vendored/', # Vendored packages
106107
'/vendor/', # Vendored packages
108+
'/_vendor/',
109+
'/_vendored_packages/',
107110
]
108111

109112
# Special-cased names that are implicitly exported from the stub (from m import y as y).

0 commit comments

Comments
 (0)