parameters: (args)
return_statement: return True
docstring: Lint files command entry point
docstring_summary: Lint files command entry point
docstring_tokens: Lint files command entry point
function: def lint(args):
      """Lint files command entry point
      """
      if args.patch and args.all:
          print("Only specify patch or all, but not both!")
          return False
      if args.patch:
          files = get_files_to_check_from_patch(args.patch)
      elif args.all:
          files = get_files_to_check_working_tree()
      else:
          files = get_files_to_check()
  
      if files:
          _lint_files(args.clang_format, files)
  
      return True
function_tokens: def lint ( args ) : if args . patch and args . all : print ( "Only specify patch or all, but not both!" ) return False if args . patch : files = get_files_to_check_from_patch ( args . patch ) elif args . all : files = get_files_to_check_working_tree ( ) else : files = get_files_to_check ( ) if files : _lint_files ( args . clang_format , files ) return True