From af1fdc826ebce47460a775e618ec9007dbec0370 Mon Sep 17 00:00:00 2001 From: Richard Liaw Date: Sun, 9 Sep 2018 15:54:46 -0700 Subject: [PATCH] Pin YAPF in Travis lint build (#2848) Avoid needing to reformat everything all the time. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f44ee3396..6212e8c80 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,7 +49,7 @@ matrix: - export PATH="$HOME/miniconda/bin:$PATH" - cd doc - pip install -q -r requirements-doc.txt - - pip install yapf + - pip install yapf==0.23.0 - sphinx-build -W -b html -d _build/doctrees source _build/html - cd .. # Run Python linting, ignore dict vs {} (C408), others are defaults