def METHOD_NAME(module_paths, ignored_modules=None, rcfile=None, cpu_count=1):
    pylint_opts = []
    if ignored_modules:
        pylint_opts.append("--ignore={}".format(ignored_modules))
    if rcfile:
        pylint_opts.append("--rcfile={}".format(rcfile))
    pylint_opts.append("--jobs={}".format(cpu_count))
    pylint_opts.extend(module_paths)
    try:
        lint.Run(pylint_opts)
    except SystemExit as se:
        # 0:  everything is fine
        # 1:  Fatal message issued
        # 2:  Error message issued
        # 4:  Warning message issued
        # 8:  Refactor message issued
        # 16: Convention message issued
        # 32: Usage error
        if se.code != 0:
            sys.exit(se.code)