Missing layer 'openpilot.system': module openpilot.system does not exist.
If I copy the system/ and selfdrive/ folders from the root into the openpilot/openpilot folder such that they aren't symlinks anymore, then it can find it.
# .importlinter
[importlinter]
root_packages=
openpilot
[importlinter:contract:1]
name = Banned openpilot.system
type = layers
layers=
openpilot.system
openpilot.selfdrive.car
I haven't looked into why yet with this library, but symlinks do not seem to be followed properly:
But the error message I get is:
Missing layer 'openpilot.system': module openpilot.system does not exist.
If I copy the
system/
andselfdrive/
folders from the root into theopenpilot/openpilot
folder such that they aren't symlinks anymore, then it can find it.