71 (checkBlacklist, tuple(_blacklists.keys())), |
71 (checkBlacklist, tuple(_blacklists.keys())), |
72 ], |
72 ], |
73 } |
73 } |
74 |
74 |
75 |
75 |
76 def checkBlacklist(reportError, context, config): |
76 def checkBlacklist(reportError, context, config): # noqa: U100 |
77 """ |
77 """ |
78 Function to check for blacklisted method calls. |
78 Function to check for blacklisted method calls. |
79 |
79 |
80 @param reportError function to be used to report errors |
80 @param reportError function to be used to report errors |
81 @type func |
81 @type func |