Enabled and fixed pylint for python3 in travis

This commit is contained in:
Marc Garcia Puig 2019-10-04 11:46:30 +02:00
parent 3b625c28f9
commit e73ad54d18
2 changed files with 21 additions and 18 deletions

View File

@ -57,24 +57,23 @@ matrix:
- shopt -s globstar
- pylint --disable=R,C --rcfile=PythonAPI/.pylintrc PythonAPI/**/*.py Util/BuildTools/*.py
# Commented until astroid can be downgraded to 2.2.5
# - env: TEST="Pylint 3"
# addons:
# apt:
# packages:
# - python3
# - python3-pip
# install:
# - pip3 install -q --user setuptools
# - pip3 install -q pylint
# - pip3 install -q --user -r PythonAPI/carla/requirements.txt
# - pip3 install -q --user -r PythonAPI/examples/requirements.txt
# - pip3 install -q --user -r PythonAPI/test/requirements.txt
# - pip3 install -q --user -r PythonAPI/util/requirements.txt
# - pip3 install -q --user -r Util/Docker/requirements.txt
# script:
# - shopt -s globstar
# - pylint --disable=R,C --rcfile=PythonAPI/.pylintrc PythonAPI/**/*.py Util/Docker/*.py Util/BuildTools/*.py
- env: TEST="Pylint 3"
addons:
apt:
packages:
- python3
- python3-pip
install:
- pip3 install -q --user setuptools
- pip3 install -q astroid==2.2.5 pylint==2.3.1
- pip3 install -q --user -r PythonAPI/carla/requirements.txt
- pip3 install -q --user -r PythonAPI/examples/requirements.txt
- pip3 install -q --user -r PythonAPI/test/requirements.txt
- pip3 install -q --user -r PythonAPI/util/requirements.txt
- pip3 install -q --user -r Util/Docker/requirements.txt
script:
- shopt -s globstar
- pylint --disable=R,C --rcfile=PythonAPI/.pylintrc PythonAPI/**/*.py Util/Docker/*.py Util/BuildTools/*.py
- env: TEST="MkDocs"
install:

View File

@ -1,4 +1,8 @@
## Latest
* Now all the camera-based sensors are provided with an additional parametrized lens distortion shader
* Updated manual_control.py with a lens disortion effect example
* Exposed rgb camera attributes: exposure, depth of field, tonemapper, color correction, and chromatic aberration
* Fixed pylint for python3 in travis
* Better steering in manual control
* Added Doxygen documentation online with automatic updates through Jenkins pipeline
* Fixed client_bounding_boxes.py example script