In Pycharm I keep running into this error:
TabError: inconsistent use of tabs and spaces in indentation
I know its a problem with tabs/spaces.
I want:
if len(myresults)==0:
print("TEST")
Whenever I type, pressing enter after every line typed I actually type:
if len(myresults)==0:
print("TEST")
Causing this error. How do I fix it? Here are my setting s for pycharm:
I'm probably missing something obvious, but I simply cannot find it.
Use tab character
box? Or if you want to keep it ticked, try to untick the PluginSettings -> Plugins -> EditorConfig
(see intellij-support.jetbrains.com/hc/en-us/community/posts/… which works similarly for Pycharm) – Ryder