Something like 6 months ago, I met a developer who was using Emacs. We were writing Django code and thus Python. There is a feature he has enabled (wrote himself ?) which could highlight the imported modules that were not used.
I am willing to have this, unfortunately I didn't find anything related the past 15 minutes. So my guess is that he wrote it himself. I am far from the Lisp guru you guys could be, hence here I am, asking for directions about such a task ;].
For automatic checking using imported modules you need install flycheck and python-mode, and later execute command flycheck-verify-setup
.
Later you must install python packages, for example, pep8, pylint, flake8 and other. Install him with pip on system side (recommended) or in your virtual environment.
You can get automatic python syntax checking (including unused imports) by installing flycheck
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With