code: def run_black_on(paths: Sequence[str], check_only: bool):
      options = "--check" if check_only else ""
      for path in paths:
          if _is_correct_path(path):
              _run_command(f"black --quiet {options} {path}")
  
file_path: vissl/dev/lint_commit.py
imports: import argparse
  import os
  from typing import Iterable, NamedTuple, Sequence
label_desc: Use image node_id 7 for calling a global function with example usage: run_black_on(paths, check_only) without return types