DamnWidget / anaconda

Anaconda turns your Sublime Text 3 in a full featured Python development IDE including autocompletion, code linting, IDE features, autopep8 formating, McCabe complexity checker Vagrant and Docker support for Sublime Text 3 using Jedi, PyFlakes, pep8, MyPy, PyLint, pep257 and McCabe that will never freeze your Sublime Text 3
http://damnwidget.github.io/anaconda/
GNU General Public License v3.0
2.22k stars 260 forks source link

Lint only for changed lines #556

Open Jonny1987 opened 8 years ago

Jonny1987 commented 8 years ago

I think this option would be really useful. At work, it's not my job to correct other people lines of code if I am working on something completely unrelated. So I don't want to lint the whole file, just the changes that git recognises.

Is it possible to use output from another plugin like gitgutter or git (the plugin) to recognise which lines have been changed and only lint those?

DamnWidget commented 8 years ago

Not right now, but something that could be added any time in the future if more people thinks it will be useful.

JonathanShor commented 7 years ago

This could be useful. I'd use it.

Further extensions of the base idea: extend linting to optionally include scopes surrounding modified lines. Option could control how far, something like [block, function, class] perhaps.