def run_checkit(srws=None):
    '''
    do check it.
    '''
    begin = len(os.path.abspath('templates')) + 1
    inws = os.path.abspath(os.getcwd())
    if srws:
        do_for_dir(srws[0], begin)
    else:
        do_for_dir(os.path.join(inws, 'templates'), begin)

    DOT_OBJ.render('xxtmpl', view=True)
do check it.