def METHOD_NAME(check_type: Literal["mypy", "pylint", "pyright"]) -> str:
    commands = [
        sys.executable,
        "-m",
        check_type,
        "--version"
    ]
    version = subprocess.run(
        commands,
        check=True,
        capture_output=True,
    )
    version = version.stdout.rstrip().decode("utf-8")
    version_running = re.findall(r'(\d+.\d+.\d+)', version)[0]
    logging.info(f"Running {check_type} version {version_running}")
    return version_running