Open
Description
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?