Skip to content

Commit 60a9f90

Browse files
committed
remove yapf-diff-recursive in favor of yapf 0.17.0
yapf 0.17.0 gained a sensible exit code for yapf --diff: - google/yapf#325 - google/yapf@71d9b2e
1 parent 903e7c0 commit 60a9f90

File tree

3 files changed

+2
-18
lines changed

3 files changed

+2
-18
lines changed

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ flake8==3.2.0
77
pep8-naming==0.4.1
88
readme-renderer==17.1
99
tox==2.5.0
10-
yapf==0.16.0
10+
yapf==0.17.0

tests/integration/yapf-recursive-diff

Lines changed: 0 additions & 16 deletions
This file was deleted.

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ commands = python setup.py check -m -r -s
1515

1616
[testenv:lint]
1717
commands =
18-
{toxinidir}/tests/integration/yapf-recursive-diff \
18+
yapf --diff --recursive \
1919
--exclude 'tests/integration/*' \
2020
--exclude 'tests/regression/headerdb/*' \
2121
compdb tests setup.py

0 commit comments

Comments
 (0)