File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1818
1919# requires netaddr
2020
21- which python
22- python --version
21+ which python2
22+ python2 --version
2323
2424export PYTHONPATH=" ../debian/opt/cloud/bin/"
2525export PYTHONDONTWRITEBYTECODE=False
2626
2727echo " Running pycodestyle to check systemvm/python code for errors"
28- python -m pycodestyle --max-line-length=179 * py
29- python -m pycodestyle --max-line-length=179 --exclude=monitorServices.py,baremetal-vr.py,passwd_server_ip.py ` find ../debian -name \* .py`
28+ python2 -m pycodestyle --max-line-length=179 * py
29+ python2 -m pycodestyle --max-line-length=179 --exclude=monitorServices.py,baremetal-vr.py,passwd_server_ip.py ` find ../debian -name \* .py`
3030if [ $? -gt 0 ]
3131then
3232 echo " pycodestyle failed, please check your code"
3333 exit 1
3434fi
3535
3636echo " Running pylint to check systemvm/python code for errors"
37- python --version
37+ python2 --version
3838pylint --version
3939pylint --disable=R,C,W,E * .py
4040pylint --disable=R,C,W,E ` find ../debian -name \* .py`
You can’t perform that action at this time.
0 commit comments