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
#37 partially implemented this, but since it looks for os.sep, it doesn't cover the case where someone has a top-level module and just does monkeytype stub mymodule.py. So it could still be improved somewhat by doing the os.path.exists check in case of no traces found.
We should be able to detect this with a heuristic like "no traces found and os.path.exists(...)"
Shouldn't just use a naive
endswith('.py')
, it's perfectly valid to have a package or module namedpy
.The text was updated successfully, but these errors were encountered: