code: def CheckCommandSpaces(filename, linenumber, clean_lines, errors):
      
      line = clean_lines.lines[linenumber]
      match = ContainsCommand(line)
      if match and len(match.group(2)):
          errors(filename, linenumber, 'whitespace/extra',
                  "Extra spaces between '%s' and its ()"%(match.group(1)))
      if match:
          spaces_after_open = len(_RE_COMMAND_START_SPACES.match(line).group(1))
          initial_spaces = GetInitialSpaces(line)
          initial_linenumber = linenumber
          end = None
          while True:
              line = clean_lines.lines[linenumber]
              end = _RE_COMMAND_END_SPACES.search(line)
              if end:
                  break
              linenumber += 1
              if linenumber >= len(clean_lines.lines):
                  break
          if linenumber == len(clean_lines.lines) and not end:
              errors(filename, initial_linenumber, 'syntax',
                      'Unable to find the end of this command')
          if end:
              spaces_before_end = len(end.group(1))
              initial_spaces = GetInitialSpaces(line)
              if initial_linenumber != linenumber and spaces_before_end >= initial_spaces:
                  spaces_before_end -= initial_spaces
  
              if spaces_after_open != spaces_before_end:
                  errors(filename, initial_linenumber, 'whitespace/mismatch',
                          'Mismatching spaces inside () after command')
docs: No extra spaces between command and parenthesis