Jan-10-2019, 11:17 PM
If you have a GUI environment, the Spyder3 IDE (https://github.com/spyder-ide/spyder) will catch mixes of spaces and tabs by flagging the first inconsistent line in every indented block. Also, the Source drop down from the menu has some very useful source file cleanup functions:
- Convert EOL characters as you wish.
- Remove trailing spaces.
- Fix indentation.
- Run a strict code analysis (take with a grain of salt, if you wish).