Merge lp:~ajkavanagh/charm-helpers/remove-e402-ignore into lp:charm-helpers
Proposed by
Alex Kavanagh
Status: | Merged |
---|---|
Merged at revision: | 767 |
Proposed branch: | lp:~ajkavanagh/charm-helpers/remove-e402-ignore |
Merge into: | lp:charm-helpers |
Diff against target: |
28 lines (+3/-3) 2 files modified
Makefile (+2/-2) tests/contrib/hardening/test_templating.py (+1/-1) |
To merge this branch: | bzr merge lp:~ajkavanagh/charm-helpers/remove-e402-ignore |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stuart Bishop (community) | Approve | ||
Review via email: mp+327806@code.launchpad.net |
Description of the change
Remove E402 ingore for pep8 to improve code checking
The flake8 pep8 tests used an --ignore E402 which is about
not having all the imports before 'code'. This is a known
code QA issue, and so this patch removes the ignore. One
test module needed to be patched with a #noqa, but that's
because the files imported adjusted their behaviour based
on the changed line for the tests
To post a comment you must log in.
I guess we have less import magic now, which is a win.