selfdrive/car: ban imports from external modules (#32973)

* lint import

* Update selfdrive/car/__init__.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 83d4623590f87dcb7df2b458a8814d5ad6ea711b
This commit is contained in:
Dean Lee
2024-07-16 02:12:24 +08:00
committed by GitHub
parent daf3d15d72
commit 58df39a2ba
27 changed files with 73 additions and 32 deletions

View File

@@ -7,7 +7,8 @@ import threading
os.environ['FILEREADER_CACHE'] = '1'
from openpilot.common.realtime import config_realtime_process, Ratekeeper, DT_CTRL
from openpilot.common.realtime import config_realtime_process, Ratekeeper
from openpilot.selfdrive.car import DT_CTRL
from openpilot.selfdrive.pandad import can_capnp_to_can_list
from openpilot.tools.lib.logreader import LogReader
from panda import PandaJungle