Check uses of various operators [operator]

Mypy checks that operands support a binary or unary operation, such as+ or ~. Indexing operations are so common that they have theirown error code index (see below).

Example:

  1. # Error: Unsupported operand types for + ("int" and "str") [operator]
  2. 1 + 'x'