alecthomas / importmagic

A Python library for finding unresolved symbols in Python code, and the corresponding imports
BSD 2-Clause "Simplified" License
120 stars 20 forks source link

make a style configuration alias compatible with isort & black? #56

Open glyph opened 4 years ago

glyph commented 4 years ago

I am using importmagic with emacs, and thank you for writing this library and allowing me to gradually flee the slowly crumbling edifice of Pymacs and Rope. (No disrespect to to the maintainers of those venerable libraries, I hope that they get the upgrades that they need, but as a user they've been lagging somewhat and I don't have the energy to invest to maintain them myself.)

However, when importmagic reformats my imports it does the wrong thing on projects that already have auto-formatting with isort and black. This isn't a big deal, as CI and commit hooks catch the problems and fix them up, but it would be nice for everything to happen automatically.

alecthomas commented 4 years ago

Alas, I myself no longer use Python regularly so I fear that importmagic may be in the same boat as Pymacs and Rope :(

glyph commented 4 years ago

@alecthomas oh no

Would you consider putting a notice in the README that you're seeking a new maintainer to take ownership?

glyph commented 4 years ago

(Even if importmagic itself isn't seeing a lot of maintenance though, the stack upon which its emacs integration is built, e.g. epc, melpa, etc, is all much better maintained, so the point still stands even if it would be nice for you to hand this off to one of its more active users!)