Travis CI: pin pylint version
Avocado uses inspekt, which in turn uses pylint. On Travis-CI under Python 2.7, pylint 1.9.2 is being used, while on Python 3.4 it's installing 2.0.0. The pylint 2.0.0 API is different, and produces the following error: Running 'inspekt lint --exclude=.git --enable W0101,W0102,W0404,W0611,W0612,W0622' Pylint disabled: W,R,C,E1002,E1101,E1103,E1120,F0401,I0011 Pylint enabled : W0101,W0102,W0404,W0611,W0612,W0622 __init__() got an unexpected keyword argument 'exit' lint FAILED Let's pin the pylint version for predictable results, as we do with pycodestyle. Reference: https://trello.com/c/LDbYJFeR/1374-lint-failed-on-python-3Signed-off-by: NCleber Rosa <crosa@redhat.com>
Showing
想要评论请 注册 或 登录