Fix pylint warnings
This commit is contained in:
parent
2da42dae40
commit
ac358c4826
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
# ==============================================================================
|
||||
|
|
Loading…
Reference in New Issue