use-implicit-booleaness-not-comparison / C1803ΒΆ
Message emitted:
'%s' can be simplified to '%s' as an empty sequence is falsey
Description:
Used when Pylint detects that collection literal comparison is being used to check for emptiness; Use implicit booleaness insteadof a collection classes; empty collections are considered as false
Created by refactoring
checker