
Other files are relatively sensitive to indentation like kubernetes or docker-compose files (or all other YAML files for that matter, which is why they should all be shot and converted to something sensible). TabError: inconsistent use of tabs and spaces in indentation TabError: inconsistent use of tabs and spaces in indentation return res Line 10 (Solution. I installed all the requirements, but for the Chrome webdriver, which resulted in a bunch of errors. Typical Python error: File "py-watch-script.py", line 17 File './scrape.py', line 105 windowstart, ids start, set() TabError: inconsistent use of tabs and spaces in indentation I'm not sure what the problem is. I needed to enable showing invisibles on a server recently, because I had edited a file and got a python warning about inconsistent indentation (mixed tabs and spaces) so I needed to know which line was indented in which way. When you indent in python, python just expects that indentation in first line should be the same as indentation in rest of the lines, be it 4 spaces, 1 space, 1 tab, or whatever. In Sublime you can set the following config line: "draw_white_space": "all", Why show Invisibles at all? I'm trying to create an application in Python 3.2 and I use tabs all the time for indentation, but even the editor changes some of them into spaces and then print out 'inconsistent use of tabs and.
Displaying Invisible Characters in Sublime Text builtins.TabError: inconsistent use of tabs and spaces in indentation (To display spaces, tabs and linebreaks in Atom, you’ll need to go to “Settings” -> “Editor” and then scroll down until you find the “Show Invisibles” option. In the “User Settings” you can find the setting called “Render Whitespaces” Displaying Invisible Characters in Atom
#Taberror inconsistent use of tabs and spaces in indentation code
