Fix pylint warnings

This commit is contained in:
nsubiron 2018-02-24 19:18:42 +01:00
parent 2da42dae40
commit ac358c4826
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
[TYPECHECK]
ignore=carla_server_pb2.py
ignored-modules=ConfigParser,numpy,numpy.random,pygame,shutil
ignored-classes=_socketobject,EpisodeReady
ignored-classes=_socketobject,EpisodeReady,SceneDescription,Sensor

View File

@ -7,15 +7,15 @@
"""CARLA sensors."""
import json
import os
from collections import namedtuple
try:
import numpy
except ImportError:
raise RuntimeError('cannot import numpy, make sure numpy package is installed.')
from collections import namedtuple
from .transform import Transform, Translation, Rotation, Scale
# ==============================================================================