diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json old mode 100755 new mode 100644 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e335fb432e..2ea8d99c14 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,4 @@ +exclude: '^(tinygrad_repo)' repos: - repo: meta hooks: @@ -14,6 +15,8 @@ repos: - id: check-yaml - id: check-merge-conflict - id: check-symlinks + - id: check-executables-have-shebangs + - id: check-shebang-scripts-are-executable - id: check-added-large-files args: ['--maxkb=100'] - repo: https://github.com/codespell-project/codespell diff --git a/README.md b/README.md old mode 100755 new mode 100644 diff --git a/cereal b/cereal index 4291784b4d..d469732b3b 160000 --- a/cereal +++ b/cereal @@ -1 +1 @@ -Subproject commit 4291784b4d372782c95279e9fe7741e38633ca5e +Subproject commit d469732b3b4c37aaa21fa37682a20f2aba9ab91c diff --git a/common/params_pyx.pyx b/common/params_pyx.pyx old mode 100755 new mode 100644 diff --git a/laika_repo b/laika_repo index c9baa95ca9..8861844c9b 160000 --- a/laika_repo +++ b/laika_repo @@ -1 +1 @@ -Subproject commit c9baa95ca9b58222370fcccb24bce1d3722c8e73 +Subproject commit 8861844c9b577ff7de7d03fab9f4d7f560415fc9 diff --git a/opendbc b/opendbc index ef302f7183..5ebf73ebed 160000 --- a/opendbc +++ b/opendbc @@ -1 +1 @@ -Subproject commit ef302f7183cb05820b27e41cd4919cb6c319cd52 +Subproject commit 5ebf73ebed8d1693aadffe97bd2dd012da3b3c1c diff --git a/panda b/panda index 3ab4f43de0..104d708547 160000 --- a/panda +++ b/panda @@ -1 +1 @@ -Subproject commit 3ab4f43de06d7abcc4d594ee2a4efc0466e42c94 +Subproject commit 104d70854717fa7ea7db16ee4db66445d925bd65 diff --git a/rednose_repo b/rednose_repo index e32658ed91..8658bed296 160000 --- a/rednose_repo +++ b/rednose_repo @@ -1 +1 @@ -Subproject commit e32658ed9164d6e8dde882c05c5ece9707acde82 +Subproject commit 8658bed29686b2ddae191fd18302986c85542431 diff --git a/selfdrive/car/body/interface.py b/selfdrive/car/body/interface.py index bf33eea38f..12a2d5f304 100644 --- a/selfdrive/car/body/interface.py +++ b/selfdrive/car/body/interface.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 import math from cereal import car from openpilot.common.realtime import DT_CTRL diff --git a/selfdrive/car/body/radar_interface.py b/selfdrive/car/body/radar_interface.py index b461fcd5f8..e654bd61fd 100644 --- a/selfdrive/car/body/radar_interface.py +++ b/selfdrive/car/body/radar_interface.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 from openpilot.selfdrive.car.interfaces import RadarInterfaceBase class RadarInterface(RadarInterfaceBase): diff --git a/selfdrive/car/disable_ecu.py b/selfdrive/car/disable_ecu.py index 1a1252327f..c11075342c 100755 --- a/selfdrive/car/disable_ecu.py +++ b/selfdrive/car/disable_ecu.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 from openpilot.selfdrive.car.isotp_parallel_query import IsoTpParallelQuery from openpilot.system.swaglog import cloudlog diff --git a/selfdrive/car/ford/interface.py b/selfdrive/car/ford/interface.py index 755d7d1d00..3045c317ff 100644 --- a/selfdrive/car/ford/interface.py +++ b/selfdrive/car/ford/interface.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 from cereal import car from panda import Panda from openpilot.common.conversions import Conversions as CV diff --git a/selfdrive/car/ford/radar_interface.py b/selfdrive/car/ford/radar_interface.py index a166fc20dd..716c9b6e58 100644 --- a/selfdrive/car/ford/radar_interface.py +++ b/selfdrive/car/ford/radar_interface.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 from math import cos, sin from cereal import car from opendbc.can.parser import CANParser diff --git a/selfdrive/car/hyundai/interface.py b/selfdrive/car/hyundai/interface.py index ff278d54e8..9b4ae508e5 100644 --- a/selfdrive/car/hyundai/interface.py +++ b/selfdrive/car/hyundai/interface.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 from cereal import car from panda import Panda from openpilot.common.conversions import Conversions as CV diff --git a/selfdrive/car/hyundai/radar_interface.py b/selfdrive/car/hyundai/radar_interface.py index e1cae9ffaf..754993a459 100644 --- a/selfdrive/car/hyundai/radar_interface.py +++ b/selfdrive/car/hyundai/radar_interface.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 import math from cereal import car diff --git a/selfdrive/car/nissan/interface.py b/selfdrive/car/nissan/interface.py index 3d6b6cb70c..d65771a2ba 100644 --- a/selfdrive/car/nissan/interface.py +++ b/selfdrive/car/nissan/interface.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 from cereal import car from openpilot.selfdrive.car import get_safety_config from openpilot.selfdrive.car.interfaces import CarInterfaceBase diff --git a/selfdrive/car/nissan/radar_interface.py b/selfdrive/car/nissan/radar_interface.py index b461fcd5f8..e654bd61fd 100644 --- a/selfdrive/car/nissan/radar_interface.py +++ b/selfdrive/car/nissan/radar_interface.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 from openpilot.selfdrive.car.interfaces import RadarInterfaceBase class RadarInterface(RadarInterfaceBase): diff --git a/selfdrive/car/subaru/interface.py b/selfdrive/car/subaru/interface.py index 5d03a920a8..75bbc8ae91 100644 --- a/selfdrive/car/subaru/interface.py +++ b/selfdrive/car/subaru/interface.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 from cereal import car from panda import Panda from openpilot.selfdrive.car import get_safety_config diff --git a/selfdrive/car/subaru/radar_interface.py b/selfdrive/car/subaru/radar_interface.py index b461fcd5f8..e654bd61fd 100644 --- a/selfdrive/car/subaru/radar_interface.py +++ b/selfdrive/car/subaru/radar_interface.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 from openpilot.selfdrive.car.interfaces import RadarInterfaceBase class RadarInterface(RadarInterfaceBase): diff --git a/selfdrive/car/tests/routes.py b/selfdrive/car/tests/routes.py old mode 100644 new mode 100755 diff --git a/selfdrive/car/toyota/interface.py b/selfdrive/car/toyota/interface.py index ab242a09a2..101e446e9c 100644 --- a/selfdrive/car/toyota/interface.py +++ b/selfdrive/car/toyota/interface.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 from cereal import car from openpilot.common.conversions import Conversions as CV from panda import Panda diff --git a/selfdrive/car/volkswagen/radar_interface.py b/selfdrive/car/volkswagen/radar_interface.py index b461fcd5f8..e654bd61fd 100644 --- a/selfdrive/car/volkswagen/radar_interface.py +++ b/selfdrive/car/volkswagen/radar_interface.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 from openpilot.selfdrive.car.interfaces import RadarInterfaceBase class RadarInterface(RadarInterfaceBase): diff --git a/selfdrive/car/volkswagen/values.py b/selfdrive/car/volkswagen/values.py old mode 100755 new mode 100644 diff --git a/selfdrive/controls/lib/events.py b/selfdrive/controls/lib/events.py index 7c30effce5..1095c880cb 100755 --- a/selfdrive/controls/lib/events.py +++ b/selfdrive/controls/lib/events.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import math import os from enum import IntEnum diff --git a/selfdrive/controls/lib/longitudinal_mpc_lib/long_mpc.py b/selfdrive/controls/lib/longitudinal_mpc_lib/long_mpc.py old mode 100644 new mode 100755 diff --git a/selfdrive/controls/tests/test_following_distance.py b/selfdrive/controls/tests/test_following_distance.py old mode 100644 new mode 100755 diff --git a/selfdrive/controls/tests/test_leads.py b/selfdrive/controls/tests/test_leads.py old mode 100644 new mode 100755 diff --git a/selfdrive/locationd/liblocationd.cc b/selfdrive/locationd/liblocationd.cc old mode 100755 new mode 100644 diff --git a/selfdrive/locationd/locationd.cc b/selfdrive/locationd/locationd.cc old mode 100755 new mode 100644 diff --git a/selfdrive/locationd/locationd.h b/selfdrive/locationd/locationd.h old mode 100755 new mode 100644 diff --git a/selfdrive/locationd/models/live_kf.cc b/selfdrive/locationd/models/live_kf.cc old mode 100755 new mode 100644 diff --git a/selfdrive/locationd/models/live_kf.h b/selfdrive/locationd/models/live_kf.h old mode 100755 new mode 100644 diff --git a/selfdrive/thermald/fan_controller.py b/selfdrive/thermald/fan_controller.py old mode 100644 new mode 100755 diff --git a/system/hardware/tici/amplifier.py b/system/hardware/tici/amplifier.py index 5b656a40fa..e003f131cc 100755 --- a/system/hardware/tici/amplifier.py +++ b/system/hardware/tici/amplifier.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import time from smbus2 import SMBus from collections import namedtuple diff --git a/system/loggerd/deleter.py b/system/loggerd/deleter.py old mode 100644 new mode 100755 diff --git a/system/loggerd/uploader.py b/system/loggerd/uploader.py old mode 100644 new mode 100755 diff --git a/system/ubloxd/tests/test_ublox_processing.py b/system/ubloxd/tests/test_ublox_processing.py index 85a4e0a426..01be79f0d4 100755 --- a/system/ubloxd/tests/test_ublox_processing.py +++ b/system/ubloxd/tests/test_ublox_processing.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import unittest import time import numpy as np diff --git a/system/ubloxd/tests/ublox.py b/system/ubloxd/tests/ublox.py old mode 100644 new mode 100755 diff --git a/system/version.py b/system/version.py old mode 100644 new mode 100755 diff --git a/third_party/libyuv/build.sh b/third_party/libyuv/build.sh old mode 100644 new mode 100755 diff --git a/tools/gpstest/test_gps.py b/tools/gpstest/test_gps.py old mode 100644 new mode 100755 diff --git a/tools/gpstest/test_gps_qcom.py b/tools/gpstest/test_gps_qcom.py old mode 100644 new mode 100755 diff --git a/tools/gpstest/test_laikad.py b/tools/gpstest/test_laikad.py old mode 100644 new mode 100755 diff --git a/tools/lib/kbhit.py b/tools/lib/kbhit.py old mode 100644 new mode 100755 diff --git a/tools/lib/tests/test_caching.py b/tools/lib/tests/test_caching.py old mode 100644 new mode 100755 diff --git a/tools/scripts/save_ubloxraw_stream.py b/tools/scripts/save_ubloxraw_stream.py old mode 100644 new mode 100755 diff --git a/tools/zookeeper/__init__.py b/tools/zookeeper/__init__.py index 42438cb209..598e0a0587 100644 --- a/tools/zookeeper/__init__.py +++ b/tools/zookeeper/__init__.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 import ft4222 import ft4222.I2CMaster