Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent use of tabs and spaces #54

Open
jvb93 opened this issue Mar 12, 2019 · 1 comment
Open

Inconsistent use of tabs and spaces #54

jvb93 opened this issue Mar 12, 2019 · 1 comment

Comments

@jvb93
Copy link

jvb93 commented Mar 12, 2019

Forgive my python inexperience, I come from the .net world:

I’m trying to use this library in an application of mine. I must use python3. On startup, python complains of an inconsistent use of tabs and spaces in Order.py, line 130. Is there a workaround or fix for this?

I’ve installed via pip3 if that helps.

Thanks

Traceback (most recent call last): File "pizza.py", line 10, in <module> from pizzapi import * File "/usr/local/lib/python3.5/dist-packages/pizzapi/__init__.py", line 5, in <module> from .order import Order File "/usr/local/lib/python3.5/dist-packages/pizzapi/order.py", line 130 return response ^ TabError: inconsistent use of tabs and spaces in indentation

@cmt0726
Copy link

cmt0726 commented Mar 19, 2019

So I use Pycharm and it shows me the file from modules that has the indentation error, click on it, and then simply tab the last 'return' statement. Works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants