diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-03-29 18:23:49 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-03-29 18:23:52 -0400 |
commit | 00ca24b68fc472e0deeda04a21297f5e38214b5a (patch) | |
tree | 8903f2a784b3033b15ee0b03426beaf15830d0a1 | |
parent | 0baf4b1f96635cdf5f26b36753321fe3ea40d4a8 (diff) | |
parent | 1111f0718acea42954600a4dbd553ac40aae797f (diff) |
Merge #15533: test: .style.yapf: Set column_limit=160
1111f0718a test: .style.yapf: Set column_limit=160 (MarcoFalke)
Pull request description:
The current style is pep8, as suggested in https://github.com/bitcoin/bitcoin/blob/master/test/functional/README.md#style-guidelines.
generated with
```
$ yapf --version
yapf 0.24.0
$ yapf --style-help --style=pep8 > .style.yapf
```
However, we don't use the column_limit of 79 right now. Practically it is somewhere between 120-240.
Some stats:
```
column_limit=120: 115 files changed, 2423 insertions(+), 1408 deletions(-)
column_limit=160: 108 files changed, 1563 insertions(+), 1247 deletions(-)
column_limit=200: 104 files changed, 1255 insertions(+), 1178 deletions(-)
ACKs for commit 1111f0:
practicalswift:
utACK 1111f0718acea42954600a4dbd553ac40aae797f agree with @ryanofsky
ryanofsky:
utACK 1111f0718acea42954600a4dbd553ac40aae797f
Tree-SHA512: 1ce0da83b917496f4ea7d1af31b624517a78998a10091b6ba611737f2c819fa3cda1786307f15d20131a00fd95232818e3d1108950dd12b60c4674eaa447839f
-rw-r--r-- | .style.yapf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.style.yapf b/.style.yapf index fe6227baf6..69d8c6aee4 100644 --- a/.style.yapf +++ b/.style.yapf @@ -55,7 +55,7 @@ blank_line_before_nested_class_or_def=False coalesce_brackets=False # The column limit. -column_limit=79 +column_limit=160 # The style for continuation alignment. Possible values are: # |