Migrate pylint check to Python 3 (#4381)

* Migrate lint to Python 3

* Fix lint errors

* Use Miniconda3 to use Python 3.7

* Use latest pylint and astroid
This commit is contained in:
Philip Hyunsu Cho
2019-04-21 01:01:54 -07:00
committed by GitHub
parent 5e97de6a41
commit bbe0dbd7ec
11 changed files with 118 additions and 117 deletions

View File

@@ -1,6 +1,9 @@
#!/bin/bash
if [ ${TASK} == "lint" ]; then
source activate python3
conda install numpy scipy
python -m pip install cpplint pylint astroid
make lint || exit -1
echo "Check documentations..."