pylint-errors

E1130 (invalid-unary-operand-type)

:x: Problematic code:

foo = int
bar = - foo

:heavy_check_mark: Correct code:

foo = 1
bar = 10
bar -= foo

Rationale:

Emitted when a unary operand is used on an object which does not support this type of operation.