I use autoflake to automatically remove unused imports and variables from my code locally and pylama on Jenkins CI to check the code for multiple things, including unused imports and imported variables (W0611).
Now I would like to introduce isort to the project to sort imports.
Is there a way for pylama to check if imports are properly sorted?
I found isort has already pylama plugin. It's implemented in isort repository and mentioned in pylama help output:
It's not enabled by default so you need to configure pylama explicitly
or in
pylama.iniconfiguration file(Default linters are pycodestyle, pyflakes, mccabe).
In contrast to
check -cit doesn't provide information which lines are incorrectly imported. If something is wrong it always shows same error message: