Fix mixed tabs and spaces and automate the process to discover it