-
Notifications
You must be signed in to change notification settings - Fork 240
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
OSError: Input needs to be a file. Path: <path>/app.py #191
Comments
This will probably be awkward to debug. Anyway... Does the file it's looking for ( Also you can try adding more logging with the |
I created a stripped down example of the issue. # test/__init__.py
from flask import Flask
app = Flask(__name__)
# -----------------------------------------------------------------------------
from . import ( # noqa # isort:skip
models,
) # test/models.py
from . import app yields (cwd:
|
Thanks for the example. Issues I see immediately (there may be more):
# e.g. from . import X
else:
name_with_dir = no_file
# We do not want to analyse the init file of the current directory
skip_init = True
|
I am running
python -m pyt -r compiq_api/
and I get:my cwd is:
/Users/alex/git/compiq-api2
The text was updated successfully, but these errors were encountered: