redefined-variable-type / R0204#
Redefinition of %s type from %s to %s
Used when the type of a variable changes inside a method or a function.
x = 1 x = "2" # [redefined-variable-type]
x = 1 x = 2
- This message is emitted by the optional 'multiple_types'
checker which requires the
pylint.extensions.redefined_variable_typeplugin to be loaded.
Created by the multiple_types checker.