diff --git a/.style.yapf b/.style.yapf new file mode 100644 index 00000000..4f3489d0 --- /dev/null +++ b/.style.yapf @@ -0,0 +1,5 @@ +[style] +based_on_style = pep8 +spaces_before_comment = 2 +column_limit = 79 +split_before_logical_operator = false diff --git a/tox.ini b/tox.ini index 14bb2e3b..14c6df7f 100644 --- a/tox.ini +++ b/tox.ini @@ -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