Merge "trivial: fix yapf/pep8 interaction failing on logical operator"
This commit is contained in:
commit
e3e5683765
5
.style.yapf
Normal file
5
.style.yapf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[style]
|
||||||
|
based_on_style = pep8
|
||||||
|
spaces_before_comment = 2
|
||||||
|
column_limit = 79
|
||||||
|
split_before_logical_operator = false
|
2
tox.ini
2
tox.ini
@ -24,7 +24,7 @@ basepython = python3
|
|||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands =
|
commands =
|
||||||
yapf --style=pep8 -ir {toxinidir}/pegleg {toxinidir}/tests
|
yapf -ir {toxinidir}/pegleg {toxinidir}/tests
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
Loading…
Reference in New Issue
Block a user