Mercurial > hg
comparison contrib/synthrepo.py @ 41761:e2472b12c842
contrib: enforce wrapping too-long lines with () instead of \
This is the style I prefer, and an anecdotal exploration of styles
recommended in style guides etc. Further, to quote pep8:
> The preferred way of wrapping long lines is by using Python's implied
> line continuation inside parentheses, brackets and braces. Long lines
> can be broken over multiple lines by wrapping expressions in
> parentheses. These should be used in preference to using a backslash
> for line continuation.
So I think this is a virtuous change.
Differential Revision: https://phab.mercurial-scm.org/D5995
author | Augie Fackler <augie@google.com> |
---|---|
date | Sun, 13 Jan 2019 20:27:00 -0500 |
parents | 2ff8994ac71d |
children | c07812bdd568 |
comparison
equal
deleted
inserted
replaced
41760:1eb2fc21da12 | 41761:e2472b12c842 |
---|