pylint-errors

C1901 (compare-to-empty-string)

:x: Problematic code:

if input() == '':
    pass

:heavy_check_mark: Correct code:

if len(input()):
    pass

Rationale:

Used when Pylint detects comparison to an empty string constant.