57 not context.checkCallArgValue("Loader", "CSafeLoader"), |
57 not context.checkCallArgValue("Loader", "CSafeLoader"), |
58 context.getCallArgAtPosition(1) != "SafeLoader", |
58 context.getCallArgAtPosition(1) != "SafeLoader", |
59 context.getCallArgAtPosition(1) != "CSafeLoader", |
59 context.getCallArgAtPosition(1) != "CSafeLoader", |
60 ] |
60 ] |
61 ): |
61 ): |
62 reportError(context.node.lineno - 1, context.node.col_offset, "S506", "M", "H") |
62 reportError(context.node.lineno - 1, context.node.col_offset, "S-506", "M", "H") |