Description
When comparing a variable to True, one should always use the form if x is True or simply if x. Since boolean in python are singletons, identity checks with is operator is recommended.
Occurrences
There are 4 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/Quiec/eksipy/issue/FLK-E712/occurrences/