[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#409124: [aesthetics] report trailing blank lines and whitespace



2009-03-08 Russ Allbery <rra@debian.org>:
| Anything that doesn't handle whitespace in that way is buggy and needs to
| be fixed.  I don't think warning (even as a pedantic warning) about
| packages that follow Policy's requirements for debian/control is a good
| idea.  I have added a pedantic tag for fields that don't use a single
| space after the colon; that's the one thing that's present in Policy as a
| pseudo-recommendation.

I's not about Debian tools to be unable to handle these things. 

It is just logical to add these checks to "Lintian" to help keeping
packages in best possible shape.

Who would deliberately add EOL whitespaces?

It's usually added by mistake because the editor may be unable (or not
configured to) to show trailing white spaces.

When data is exchanged between parties:

	- By email
	- By patches (NMUs, diffs, etc)
	- Injected into VCS (if configured to warn EOL whitespaces)

It helps when there are no EOL whitespaces to worry about.

Jari



Reply to: