Make pylint more strict (#1626)

* make pylint more strict

* cleanup in progress

* done cleaning up

* no opendbc
This commit is contained in:
Willem Melching
2020-06-02 16:29:32 -07:00
committed by GitHub
parent 676d0901e5
commit 843a64c72f
65 changed files with 313 additions and 359 deletions
+3 -5
View File
@@ -97,11 +97,9 @@ def go(q):
world.set_weather(weather)
blueprint_library = world.get_blueprint_library()
"""
for blueprint in blueprint_library.filter('sensor.*'):
print(blueprint.id)
exit(0)
"""
# for blueprint in blueprint_library.filter('sensor.*'):
# print(blueprint.id)
# exit(0)
world_map = world.get_map()
vehicle_bp = random.choice(blueprint_library.filter('vehicle.tesla.*'))
+1 -1
View File
@@ -143,7 +143,7 @@ def wheel_poll_thread(q):
while True:
evbuf = jsdev.read(8)
time, value, mtype, number = struct.unpack('IhBB', evbuf)
_, value, mtype, number = struct.unpack('IhBB', evbuf)
# print(mtype, number, value)
if mtype & 0x02: # wheel & paddles
axis = axis_map[number]