You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
app_main calls a some_functon from some_script via from my_app_files.some_script #import some_function - which seems to be how PEP8 suggests.
Yet Codacy seems to want met to reform it to from _master.my_app_files.some_script import some_function - which not only doesn't work, it doesn't make a lot of sense, since _master doesn't appear anywhere in my project.
@toonarmycaptain Thanks for reporting. The issue - relative-import - was triggered due to __init__.py on root. Root directory name in this context is internal to CodeFactor (_master), so reported issue is not really a good candidate.
I have a structure:
app_main
calls asome_functon
fromsome_script
via frommy_app_files.some_script #import some_function
- which seems to be how PEP8 suggests.Yet Codacy seems to want met to reform it to
from _master.my_app_files.some_script import some_function
- which not only doesn't work, it doesn't make a lot of sense, since_master
doesn't appear anywhere in my project.toonarmycaptain/dionysus#5
The text was updated successfully, but these errors were encountered: