code: def main():
      parser = argparse.ArgumentParser()
      parser.add_argument("files", nargs="*")
      args = parser.parse_args()
  
      exit_code = 0
      msg = "Use rule name (e.g. unused-variable) instead of rule ID (e.g. W0612)"
      for path in args.files:
          with open(path) as f:
              for comment, (row, col) in iter_comments(f):
                  if codes := extract_codes(comment):
                      if code := next(filter(is_rule_id, codes), None):
                          print(f"{path}:{row}:{col}: {code}: {msg}")
                          exit_code = 1
      sys.exit(exit_code)
  
imports: import argparse
  import re
  import sys
  import tokenize
label_desc: Use image node_id 4 for calling a global function with example usage: main() without return types