Pin YAPF in Travis lint build (#2848)

Avoid needing to reformat everything all the time.
This commit is contained in:
Richard Liaw
2018-09-09 15:54:46 -07:00
committed by Robert Nishihara
parent 9ba751c29a
commit af1fdc826e
+1 -1
View File
@@ -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