3 ms·
Smart-imports: automatic Mypy-friendly library imports
- anon_tor_12345 6y agonothing against whoever wrote this (seriously congrats on shipping) but this is a horrible idea. you might as well completely do away with module namespacing if you're going to use this.
- singhrac 6y agoAnother implementation of a similar idea (but taking the form of CLI utilities rather than a library) is https://github.com/deshaw/pyflyby https://github.com/deshaw/pyflyby. I think philosophically it’s better - the result is good quality Python code. No mypy support, though.