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
I am testing out this plugin, and I am wondering if I am doing things correctly.
I made a tiny project:
pyproject.toml # ... [tool.setuptools.packages.find]
myproj/
__init__.py # from .asdf import A
asdf.py # A = 4
I am using oil.nvim and trying to change the name of asdf.py to something else, no refactoring is triggered. If I instead use from myproj.asdf import A in __init__.py, it works as expected.
Should the plugin be able to deal with relative imports, or do the imports have to be absolute for it to work?
The text was updated successfully, but these errors were encountered:
I am testing out this plugin, and I am wondering if I am doing things correctly.
I made a tiny project:
I am using oil.nvim and trying to change the name of
asdf.py
to something else, no refactoring is triggered. If I instead usefrom myproj.asdf import A
in__init__.py
, it works as expected.Should the plugin be able to deal with relative imports, or do the imports have to be absolute for it to work?
The text was updated successfully, but these errors were encountered: