"E501 line too long" errors should not be ignored in charm-helpers directory
Bug #1464685 reported by
Ryan Beisner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
New
|
Undecided
|
Unassigned |
Bug Description
E501 errors should not be ignored in the charm-helpers/ directory, as this can cause lint failures to sneak into projects which utilize code from charm-helpers/
Currently, when a reviewer runs `make lint` on the charm-helpers project, its Makefile ignores "E501 line too long" errors in the charmhelpers/, tests/, and tools/ directories.
It may be ok to continue to ignore these errors for the tests/ and tools/ directories as those should not affect other projects.
However, I suggest that we change the lint target to ignore nothing in the charm-helpers/ dir.
Example of offending code in charm-helpers/ directory:
http://
To post a comment you must log in.
If we do change this, then we will also need to do the lint cleanup as indicated in http:// paste.ubuntu. com/11702292/.
If we decide not to change this, then charm-helper contributors and reviewers will need to manually run `flake8 charmhelpers` and sort through those results to make sure they're not adding to the oops list.