       tokenizedLine = textEditor.tokenizedLineForScreenRow(lineNumber)
       offset = 0
       for token in tokenizedLine.tokens
-        if token.value == symbol
+        if token.value is symbol
           return [[lineNumber, offset], [lineNumber, offset + token.bufferDelta]]
         offset += token.bufferDelta
     when 'H101'

        foundDecorator = false
        for token in tokenizedLine.tokens
          if 'meta.function.python' in token.scopes
            if token.value == symbol
              return [[lineNumber, offset], [lineNumber, offset + token.bufferDelta]]
          if 'meta.function.decorator.python' in token.scopes
            foundDecorator = true
          offset += token.bufferDelta
        if !foundDecorator
          break
        lineNumber += 1
    when 'E125', 'E127', 'E128', 'E131'

      tokenizedLine = textEditor.tokenizedLineForScreenRow(lineNumber)
      offset = 0
      for token in tokenizedLine.tokens
        if not token.firstNonWhitespaceIndex
          return [[lineNumber, 0], [lineNumber, offset]]
        if token.firstNonWhitespaceIndex isnt token.bufferDelta
          return [[lineNumber, 0], [lineNumber, offset + token.firstNonWhitespaceIndex]]
        offset += token.bufferDelta
    when 'E262', 'E265'
