src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/blackListImports.py

branch
eric7
changeset 10373
093dcebe5ecb
parent 10069
435cc5875135
child 10439
21c28b0f9e41
equal deleted inserted replaced
10372:1444b4bee64b 10373:093dcebe5ecb
60 list of codes 60 list of codes
61 @rtype dict 61 @rtype dict
62 """ 62 """
63 return { 63 return {
64 "Import": [ 64 "Import": [
65 (checkBlacklist, tuple(_blacklists.keys())), 65 (checkBlacklist, tuple(_blacklists)),
66 ], 66 ],
67 "ImportFrom": [ 67 "ImportFrom": [
68 (checkBlacklist, tuple(_blacklists.keys())), 68 (checkBlacklist, tuple(_blacklists)),
69 ], 69 ],
70 "Call": [ 70 "Call": [
71 (checkBlacklist, tuple(_blacklists.keys())), 71 (checkBlacklist, tuple(_blacklists)),
72 ], 72 ],
73 } 73 }
74 74
75 75
76 def checkBlacklist(reportError, context, config): # noqa: U100 76 def checkBlacklist(reportError, context, config): # noqa: U100

eric ide

mercurial