def _GetActualIndentation(self, token):
    # Move to the first token in the line
    token = tokenutil.GetFirstTokenInSameLine(token)

    # If it is whitespace, it is the indentation.
    if token.type == Type.WHITESPACE:
      if token.string.find('\t') >= 0:
        return -1
      else:
        return len(token.string)
    elif token.type == Type.PARAMETERS:
      return len(token.string) - len(token.string.lstrip())
    else:
      return 0
Adjust the window contrast level in the range min-max.
dataset/ETHPy150Open google/closure-linter/closure_linter/indentation.py/IndentationRules._GetActualIndentation--crossover with--dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/CIP_Common/CIP/logic/SlicerUtil.py/SlicerUtil.changeContrastWindow