[RFC] Blank lines at the end of files

Robert Collins robertc at robertcollins.net
Fri Jun 29 01:28:39 BST 2007

On Fri, 2007-06-29 at 10:00 +1000, Ian Clatworthy wrote:
> John Arbash Meinel wrote:
> > I've noticed Aaron comment on blank lines at the end of files. I wasn't
> > aware that it was a strict requirement/anything we have ever discussed.
> > 
> > Obviously Aaron feel like they shouldn't be there. I don't really care.
> > For me, I feel like they actually 'terminate' the file, rather than
> > ending in the middle of a sentence. Maybe I'm just used to other
> > languages where you have a closing brace. But without the trailing
> > newline, it actually feels like the file isn't finished yet.
> Me too. I like/expect a single blank line at the end of a Python file
> such that going to the last line/character in the file puts me below
> existing code, not to the right of it.

Do you use vim or emacs?

GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070629/e50cc2fc/attachment.pgp 

More information about the bazaar mailing list