21 with the check function and associated message codes. |
21 with the check function and associated message codes. |
22 |
22 |
23 @return dictionary containing list of tuples with checker data |
23 @return dictionary containing list of tuples with checker data |
24 @rtype dict |
24 @rtype dict |
25 """ |
25 """ |
|
26 # TODO: update to bandit v1.7.4 |
26 checkersDict = collections.defaultdict(list) |
27 checkersDict = collections.defaultdict(list) |
27 |
28 |
28 checkersDirectory = os.path.dirname(__file__) |
29 checkersDirectory = os.path.dirname(__file__) |
29 checkerModules = [ |
30 checkerModules = [ |
30 os.path.splitext(m)[0] |
31 os.path.splitext(m)[0] |