flake8-diff
flake8-diff copied to clipboard
Run flake8 across a set of changed files and filter out violations occurring only on the lines that were changed.
I'm trying to run flake8-diff in an IDE pointing to a venv dir (without the venv activated), but the IDE only allows running a single command (with arguments and location)...
When working on a codebase which has violations which are baked in, such as CamelCase method names, modifications of those lines are not new violations, and 'fixing' them would create...
Currently we only support git, it would be nice to support: - [x] mercurial - [ ] bzr - [ ] subversion - [ ] darcs others ?
``` lekonia:tests.git{test_flake8} ryan$ ryan$ flake8-diff Found violations: restore.py E265 @ 89:1 - block comment should start with '# ' W391 @ 1248:1 - blank line at end of file 1...
We need to cover accuracy of the output. It would be nice to have these run in Travis CI