def __init__(self, warnings):
if isinstance(warnings, dict):<EOL><INDENT>self.warnings = warnings<EOL><DEDENT>else:<EOL><INDENT>self.warnings = tools.parsePyLintWarnings(warnings)<EOL><DEDENT>self.fileCounts = {}<EOL>self.warningCounts = {}<EOL>
Set up the Hotspot Report, and process the warnings, if need be.

@param warnings: Either a L{dict} from {tools.parsePyLintWarnings} or a
    L{list} of pyLint parseable output.