lint should detect lines with trailing whitespace

Bug #253522 reported by Stuart Bishop
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Unassigned

Bug Description

We should not have trailing whitespace anywhere in our source tree - even if it is meaningful (possible in triple quoted strings for example), it is at risk of being lost.

make lint should detect and raise errors, informing developers of lines containing trailing whitespace so reviewers don't have to check manually.

Changed in launchpad:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

It'd also be nice for it to warn about tabs: bug 482177.

Curtis Hovey (sinzui)
Changed in launchpad-foundations:
status: Triaged → In Progress
assignee: nobody → Curtis Hovey (sinzui)
Curtis Hovey (sinzui)
Changed in launchpad-foundations:
milestone: none → 10.08
importance: Medium → High
tags: added: tech-debt
Curtis Hovey (sinzui)
Changed in launchpad-foundations:
status: In Progress → Fix Released
Curtis Hovey (sinzui)
tags: added: qa-ok
Curtis Hovey (sinzui)
Changed in launchpad:
assignee: Curtis Hovey (sinzui) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.