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
+7
View File
@@ -96,3 +96,10 @@ repos:
rev: 0.29.0
hooks:
- id: check-github-workflows
- repo: local
hooks:
- id: import-linter
name: import linter
entry: lint-imports
language: system
pass_filenames: false