enable E261 in flake8: two spaces before inline comment

albatross
Adeeb Shihadeh 2020-05-31 14:03:22 -07:00
parent 02c130731c
commit 27754a277c
61 changed files with 165 additions and 165 deletions

View File

@ -17,7 +17,7 @@ repos:
- id: flake8
exclude: '^(pyextra)|(external)|(cereal)|(rednose)|(panda)|(laika)|(laika_repo)|(rednose_repo)/'
args:
- --ignore=E111,E114,E121,E122,E123,E124,E126,E127,E128,E201,E202,E203,E226,E241,E251,E261,E265,E266,E302,E303,E305,E402,E501,E502,E722,E741,W504
- --ignore=E111,E114,E121,E122,E123,E124,E126,E127,E128,E201,E202,E203,E226,E241,E251,E265,E266,E302,E303,E305,E402,E501,E502,E722,E741,W504
- --statistics
- repo: local
hooks:

2
cereal

@ -1 +1 @@
Subproject commit 0adfc7e77efbf1ebc21bf2629a85d165b319b23e
Subproject commit 76eb23e062679058025369204f4e9a81ea7d479b

View File

@ -100,7 +100,7 @@ def get_camera_frame_from_model_frame(camera_frame_from_road_frame, height=model
# This function is super slow, so skip it if height is very close to canonical
# TODO: speed it up!
if abs(height - model_height) > 0.001: #
if abs(height - model_height) > 0.001:
camera_from_model_camera = get_model_height_transform(camera_frame_from_road_frame, height)
else:
camera_from_model_camera = np.eye(3)

@ -1 +1 @@
Subproject commit 90b4c98502ade83df62fb215ee44375eee46b3d5
Subproject commit d0872aa16155e8f73961d52952c8cef41d5702d4

@ -1 +1 @@
Subproject commit e92e74311a7ed66922629bec4b8cee7c8db1b9f0
Subproject commit 4c59163aa31b58436fad2f8cbadeacd564887276

2
panda

@ -1 +1 @@
Subproject commit 49ffbe99f65e64d23d27d9d3e37f68bc2368dccd
Subproject commit 9102c16118171597abf6cb7b9dee99b557f7eee7