Merge lp:~allenap/commandant/lint-and-such into lp:commandant
Proposed by
Gavin Panella
Status: | Merged |
---|---|
Merged at revision: | 45 |
Proposed branch: | lp:~allenap/commandant/lint-and-such |
Merge into: | lp:commandant |
Prerequisite: | lp:~allenap/commandant/test-failures-updated-bzrlib-possibly |
Diff against target: |
92 lines (+16/-10) 5 files modified
Makefile (+5/-1) commandant/controller.py (+9/-7) commandant/errors.py (+1/-1) commandant/formatting.py (+1/-0) commandant/tests/test_formatting.py (+0/-1) |
To merge this branch: | bzr merge lp:~allenap/commandant/lint-and-such |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jamu Kakar | Pending | ||
Review via email: mp+122921@code.launchpad.net |
Commit message
Correct lint as reported by flake8, which includes a PEP8 test.
There is now a "flake8" make target to run this against everything in commandant/, except mocker.py, and all warnings have been addressed.
To post a comment you must log in.
Thanks for the cleanup! I've modified the Makefile to have new 'pep8'
and 'lint' make targets. I'm not aware of flake8 and it seems that
pep8 reports more issues. One I'm not sure how to fix is this one, so
I've left it untouched for now:
$ make lint commands. py:67:23: W602 deprecated form of raising exception
commandant/
make: *** [pep8] Error 123