Skip to content

Commit

Permalink
fix linter complaint about too many blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh committed Jun 1, 2020
1 parent 9102c16 commit 275e76c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion examples/can_unique.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ def store(self, message_id, data):
message.zeros[i] = message.zeros[i] | ( (~int(bytes[i])) & 0xff)



def PrintUnique(interesting_file, background_files):
background = Info()
for background_file in background_files:
Expand Down
2 changes: 0 additions & 2 deletions tests/safety/test_gm.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ def test_against_torque_driver(self):
self.safety.set_torque_driver(-MAX_STEER * sign, -MAX_STEER * sign)
self.assertFalse(self._tx(self._torque_msg((MAX_STEER - MAX_RATE_DOWN + 1) * sign)))


def test_realtime_limits(self):
self.safety.set_controls_allowed(True)

Expand All @@ -203,7 +202,6 @@ def test_realtime_limits(self):
self.assertTrue(self._tx(self._torque_msg(sign * (MAX_RT_DELTA - 1))))
self.assertTrue(self._tx(self._torque_msg(sign * (MAX_RT_DELTA + 1))))


def test_tx_hook_on_pedal_pressed(self):
for pedal in ['brake', 'gas']:
if pedal == 'brake':
Expand Down
2 changes: 0 additions & 2 deletions tests/safety/test_hyundai.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ def test_against_torque_driver(self):
self.safety.set_torque_driver(-MAX_STEER * sign, -MAX_STEER * sign)
self.assertFalse(self._tx(self._torque_msg((MAX_STEER - MAX_RATE_DOWN + 1) * sign)))


def test_realtime_limits(self):
self.safety.set_controls_allowed(True)

Expand All @@ -179,7 +178,6 @@ def test_realtime_limits(self):
self.assertTrue(self._tx(self._torque_msg(sign * (MAX_RT_DELTA - 1))))
self.assertTrue(self._tx(self._torque_msg(sign * (MAX_RT_DELTA + 1))))


def test_spam_cancel_safety_check(self):
RESUME_BTN = 1
SET_BTN = 2
Expand Down
1 change: 0 additions & 1 deletion tests/safety/test_subaru.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ def test_against_torque_driver(self):
self._set_torque_driver(-max_driver_torque * sign, -max_driver_torque * sign)
self.assertFalse(self._tx(self._torque_msg((MAX_STEER - MAX_RATE_DOWN + 1) * sign)))


def test_realtime_limits(self):
self.safety.set_controls_allowed(True)

Expand Down

0 comments on commit 275e76c

Please sign in to comment.