diff --git a/Pipfile b/Pipfile index 2bbd1240e..0edebf9e5 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 e8c7df3f8..96db2134d 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 58ccd5799..78aef0749 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 77a77eb28..5b4989871 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