Boolean and `None` comparisons should be done with `is` not `==`.
Remove trailing white-space.
Two spaces before in-line comment.
Merge pull request #8969 from s0undt3ch/develop

Lint Fixes