@classmethod
def get_level(cls, issue_type: str) ->str:
    """Get level for given issue type."""
    if issue_type == 'error':
        return '5'
    if issue_type == 'warning':
        return '3'
    return '1'
