Merge "trivial: fix yapf/pep8 interaction failing on logical operator"

This commit is contained in:
Zuul 2019-03-25 16:21:50 +00:00 committed by Gerrit Code Review
commit e3e5683765
2 changed files with 6 additions and 1 deletions

5
.style.yapf Normal file
View File

@ -0,0 +1,5 @@
[style]
based_on_style = pep8
spaces_before_comment = 2
column_limit = 79
split_before_logical_operator = false

View File

@ -24,7 +24,7 @@ basepython = python3
deps =
-r{toxinidir}/test-requirements.txt
commands =
yapf --style=pep8 -ir {toxinidir}/pegleg {toxinidir}/tests
yapf -ir {toxinidir}/pegleg {toxinidir}/tests
[testenv:pep8]
basepython = python3