code: def format_lint_message(
      message: str, code: str, rules: dict[str, str], show_disable: bool
  ) -> str:
      if rules:
          message += f".\n{rules.get(code) or ''}"
      message += ".\nSee https://beta.ruff.rs/docs/rules/"
      if show_disable:
          message += f".\n\nTo disable, use `  # noqa: {code}`"
      return message
  
imports: from __future__ import annotations
  import argparse
  import concurrent.futures
  import dataclasses
  import enum
  import json
  import logging
  import os
  import subprocess
  import sys
  import time
  from typing import Any, BinaryIO
label_desc: Use image node_id 8 for calling a global function with example usage: format_lint_message(message, code, rules, show_disable) and returns: message