mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 19:23:56 +08:00
* enable some more flake8 checks * some more quick ones * bump opendbc * e401 * e711 e712 * e115 e116 * e222 * e301 * remove that * e129 * e701 e702 * e125 e131 * e227 * e306 * e262 * W503 * e713 * e704 * e731 * bump opendbc * fix some e722
9 lines
142 B
Python
9 lines
142 B
Python
import os
|
|
from nose.tools import nottest
|
|
|
|
def phone_only(x):
|
|
if os.path.isfile("/init.qcom.rc"):
|
|
return x
|
|
else:
|
|
return nottest(x)
|