python-rope / rope

a python refactoring library
GNU Lesser General Public License v3.0
1.96k stars 164 forks source link

Refactor Autoimport database and indexing #740

Open bagel897 opened 10 months ago

bagel897 commented 10 months ago

Description

The main autoimport class has gotten quite large. This PR simplifies it by splitting out a Database object. It also adds an index function to unify indexing between the different methods (resource, gen_cache, modules_cache)

Future Proposals

This can be iterated on in future PRs

lieryan commented 10 months ago

Hi @bagel897, is this PR ready for review or are you still working on it? If it's ready to review, can you please move it out of draft?

bagel897 commented 10 months ago

Still have stuff to work on and will need to incorporate #516 once its merged.