Fix mixed tabs with spaces.
Fix PEP-8 E712. `is True`
Merge pull request #7877 from s0undt3ch/hotfix/lint

Some Lint fixes