What is *Pycln*? *Pycln is a formatter for finding and removing unused imports automatically and accurately.*
Why do you build it while Autoflake & Unimport exists?
Because *Pycln* has designed to be:
- Safer by statically analyzing modules side effects before considering them as unused, which neither Autoflake nor Unimport provides this functionality!
- More accurate by supporting a wide variety of special cases (we can improve this part more and more).
*Pycln Github repo:* https://github.com/hadialqattan/pycln *For more information see:* https://hadialqattan.github.io/pycln