##// END OF EJS Templates
import-checker: allow symbol imports from typing module...
Gregory Szorc -
r49816:8dec9abf default
parent child Browse files
Show More
@@ -19,7 +19,7 b' if True: # disable lexical sorting chec'
19
19
20 import testparseutil
20 import testparseutil
21
21
22 # Whitelist of modules that symbols can be directly imported from.
22 # Allow list of modules that symbols can be directly imported from.
23 allowsymbolimports = (
23 allowsymbolimports = (
24 '__future__',
24 '__future__',
25 'breezy',
25 'breezy',
@@ -46,9 +46,10 b' allowsymbolimports = ('
46 'mercurial.thirdparty.attr',
46 'mercurial.thirdparty.attr',
47 'mercurial.thirdparty.zope',
47 'mercurial.thirdparty.zope',
48 'mercurial.thirdparty.zope.interface',
48 'mercurial.thirdparty.zope.interface',
49 'typing',
49 )
50 )
50
51
51 # Whitelist of symbols that can be directly imported.
52 # Allow list of symbols that can be directly imported.
52 directsymbols = ('demandimport',)
53 directsymbols = ('demandimport',)
53
54
54 # Modules that must be aliased because they are commonly confused with
55 # Modules that must be aliased because they are commonly confused with
General Comments 0
You need to be logged in to leave comments. Login now