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
Consider following call: astroid.modutils._get_relative_base_path('something', os.path.join(os.getcwd(), 'some')).
I would expect this to return None by design. However, this returns 'thing' instead.
This results in issues with running pylint on a project with following directory structure:
some
\- __init__.py
something
\- __init__.py
thing
\- __init__.py
I have observed this in astroid version 3.1.0, but it seems to me that the code in master is still the same.
The text was updated successfully, but these errors were encountered:
Consider following call:
astroid.modutils._get_relative_base_path('something', os.path.join(os.getcwd(), 'some'))
.I would expect this to return
None
by design. However, this returns'thing'
instead.This results in issues with running pylint on a project with following directory structure:
I have observed this in astroid version 3.1.0, but it seems to me that the code in master is still the same.
The text was updated successfully, but these errors were encountered: