mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-30 03:13:53 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user