code: def register_linter(fn: F) -> F:
      linters.append(fn)
      return fn
  
imports: import argparse
  import json
  import os
  import re
  import sys
  from typing import Callable, List, Optional, Tuple, TypeVar, Union
label_desc: Use image node_id 1 for calling a global function with example usage: register_linter(fn) and returns: fn