From 8aa225b3f9c77336050a8223b7789eed263eb3d5 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Wed, 29 Sep 2021 23:20:33 +0200 Subject: [PATCH] move acados deps out of devpackages (#22376) * move acados deps out of devpackages * fix new pylint errors old-commit-hash: a60f3c6a35736d39a4ad73e69b5c91c47279d934 --- Pipfile | 2 +- Pipfile.lock | 4 ++-- selfdrive/boardd/tests/replay_many.py | 1 - selfdrive/thermald/tests/test_power_monitoring.py | 5 ----- 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/Pipfile b/Pipfile index 2bbd1240e5..0edebf9e50 100644 --- a/Pipfile +++ b/Pipfile @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:df0256d3d2fe647e11b36e3e44ef8fb4689a97176964ab3e7b9b31e475b5dfba +oid sha256:3cb09fe8305057ccf603f162fbd2977787b218ebeba334fcd52c5b772a284603 size 1966 diff --git a/Pipfile.lock b/Pipfile.lock index e8c7df3f86..96db2134dc 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3cff5a1392da4194e94931ffb428b5aaafede042bad08655e2b80fbe959f277e -size 203130 +oid sha256:b6a305e34abb918c61eff1a02960152bedabae57f2557b1e4e9e36dd87135658 +size 222187 diff --git a/selfdrive/boardd/tests/replay_many.py b/selfdrive/boardd/tests/replay_many.py index 58ccd57991..78aef07497 100755 --- a/selfdrive/boardd/tests/replay_many.py +++ b/selfdrive/boardd/tests/replay_many.py @@ -21,7 +21,6 @@ def initializer(): signal.signal(signal.SIGINT, signal.SIG_IGN) def send_thread(sender_serial): - global jungle while True: try: if jungle: diff --git a/selfdrive/thermald/tests/test_power_monitoring.py b/selfdrive/thermald/tests/test_power_monitoring.py index 77a77eb281..5b4989871b 100755 --- a/selfdrive/thermald/tests/test_power_monitoring.py +++ b/selfdrive/thermald/tests/test_power_monitoring.py @@ -134,7 +134,6 @@ class TestPowerMonitoring(unittest.TestCase): # Test to check policy of stopping charging after MAX_TIME_OFFROAD_S @parameterized.expand(ALL_PANDA_TYPES) def test_max_time_offroad(self, hw_type): - global ssb BATT_VOLTAGE = 4 BATT_CURRENT = 0 # To stop shutting down for other reasons MOCKED_MAX_OFFROAD_TIME = 3600 @@ -154,7 +153,6 @@ class TestPowerMonitoring(unittest.TestCase): # Test to check policy of stopping charging when the car voltage is too low @parameterized.expand(ALL_PANDA_TYPES) def test_car_voltage(self, hw_type): - global ssb BATT_VOLTAGE = 4 BATT_CURRENT = 0 # To stop shutting down for other reasons TEST_TIME = 100 @@ -171,7 +169,6 @@ class TestPowerMonitoring(unittest.TestCase): # Test to check policy of not stopping charging when DisablePowerDown is set def test_disable_power_down(self): - global ssb BATT_VOLTAGE = 4 BATT_CURRENT = 0 # To stop shutting down for other reasons TEST_TIME = 100 @@ -189,7 +186,6 @@ class TestPowerMonitoring(unittest.TestCase): # Test to check policy of not stopping charging when ignition def test_ignition(self): - global ssb BATT_VOLTAGE = 4 BATT_CURRENT = 0 # To stop shutting down for other reasons TEST_TIME = 100 @@ -206,7 +202,6 @@ class TestPowerMonitoring(unittest.TestCase): # Test to check policy of not stopping charging when harness is not connected def test_harness_connection(self): - global ssb BATT_VOLTAGE = 4 BATT_CURRENT = 0 # To stop shutting down for other reasons TEST_TIME = 100