mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-19 00:33:52 +08:00
Precommit: ensure executable bit is set (#29784)
* precommit ensure executable * exclude tinygrad * bump submodules * exclude tinygrad globally
This commit is contained in:
0
.devcontainer/devcontainer.json
Executable file → Normal file
0
.devcontainer/devcontainer.json
Executable file → Normal file
@@ -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
|
||||
|
||||
2
cereal
2
cereal
Submodule cereal updated: 4291784b4d...d469732b3b
0
common/params_pyx.pyx
Executable file → Normal file
0
common/params_pyx.pyx
Executable file → Normal file
Submodule laika_repo updated: c9baa95ca9...8861844c9b
2
opendbc
2
opendbc
Submodule opendbc updated: ef302f7183...5ebf73ebed
2
panda
2
panda
Submodule panda updated: 3ab4f43de0...104d708547
Submodule rednose_repo updated: e32658ed91...8658bed296
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python3
|
||||
import math
|
||||
from cereal import car
|
||||
from openpilot.common.realtime import DT_CTRL
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python3
|
||||
from openpilot.selfdrive.car.interfaces import RadarInterfaceBase
|
||||
|
||||
class RadarInterface(RadarInterfaceBase):
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
from openpilot.selfdrive.car.isotp_parallel_query import IsoTpParallelQuery
|
||||
from openpilot.system.swaglog import cloudlog
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python3
|
||||
from cereal import car
|
||||
from panda import Panda
|
||||
from openpilot.common.conversions import Conversions as CV
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python3
|
||||
from math import cos, sin
|
||||
from cereal import car
|
||||
from opendbc.can.parser import CANParser
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python3
|
||||
from cereal import car
|
||||
from panda import Panda
|
||||
from openpilot.common.conversions import Conversions as CV
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python3
|
||||
import math
|
||||
|
||||
from cereal import car
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python3
|
||||
from openpilot.selfdrive.car.interfaces import RadarInterfaceBase
|
||||
|
||||
class RadarInterface(RadarInterfaceBase):
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python3
|
||||
from cereal import car
|
||||
from panda import Panda
|
||||
from openpilot.selfdrive.car import get_safety_config
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python3
|
||||
from openpilot.selfdrive.car.interfaces import RadarInterfaceBase
|
||||
|
||||
class RadarInterface(RadarInterfaceBase):
|
||||
|
||||
0
selfdrive/car/tests/routes.py
Normal file → Executable file
0
selfdrive/car/tests/routes.py
Normal file → Executable file
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python3
|
||||
from cereal import car
|
||||
from openpilot.common.conversions import Conversions as CV
|
||||
from panda import Panda
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python3
|
||||
from openpilot.selfdrive.car.interfaces import RadarInterfaceBase
|
||||
|
||||
class RadarInterface(RadarInterfaceBase):
|
||||
|
||||
0
selfdrive/car/volkswagen/values.py
Executable file → Normal file
0
selfdrive/car/volkswagen/values.py
Executable file → Normal file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
import math
|
||||
import os
|
||||
from enum import IntEnum
|
||||
|
||||
0
selfdrive/controls/lib/longitudinal_mpc_lib/long_mpc.py
Normal file → Executable file
0
selfdrive/controls/lib/longitudinal_mpc_lib/long_mpc.py
Normal file → Executable file
0
selfdrive/controls/tests/test_following_distance.py
Normal file → Executable file
0
selfdrive/controls/tests/test_following_distance.py
Normal file → Executable file
0
selfdrive/controls/tests/test_leads.py
Normal file → Executable file
0
selfdrive/controls/tests/test_leads.py
Normal file → Executable file
0
selfdrive/locationd/liblocationd.cc
Executable file → Normal file
0
selfdrive/locationd/liblocationd.cc
Executable file → Normal file
0
selfdrive/locationd/locationd.cc
Executable file → Normal file
0
selfdrive/locationd/locationd.cc
Executable file → Normal file
0
selfdrive/locationd/locationd.h
Executable file → Normal file
0
selfdrive/locationd/locationd.h
Executable file → Normal file
0
selfdrive/locationd/models/live_kf.cc
Executable file → Normal file
0
selfdrive/locationd/models/live_kf.cc
Executable file → Normal file
0
selfdrive/locationd/models/live_kf.h
Executable file → Normal file
0
selfdrive/locationd/models/live_kf.h
Executable file → Normal file
0
selfdrive/thermald/fan_controller.py
Normal file → Executable file
0
selfdrive/thermald/fan_controller.py
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
import time
|
||||
from smbus2 import SMBus
|
||||
from collections import namedtuple
|
||||
|
||||
0
system/loggerd/deleter.py
Normal file → Executable file
0
system/loggerd/deleter.py
Normal file → Executable file
0
system/loggerd/uploader.py
Normal file → Executable file
0
system/loggerd/uploader.py
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
import unittest
|
||||
import time
|
||||
import numpy as np
|
||||
|
||||
0
system/ubloxd/tests/ublox.py
Normal file → Executable file
0
system/ubloxd/tests/ublox.py
Normal file → Executable file
0
system/version.py
Normal file → Executable file
0
system/version.py
Normal file → Executable file
0
third_party/libyuv/build.sh
vendored
Normal file → Executable file
0
third_party/libyuv/build.sh
vendored
Normal file → Executable file
0
tools/gpstest/test_gps.py
Normal file → Executable file
0
tools/gpstest/test_gps.py
Normal file → Executable file
0
tools/gpstest/test_gps_qcom.py
Normal file → Executable file
0
tools/gpstest/test_gps_qcom.py
Normal file → Executable file
0
tools/gpstest/test_laikad.py
Normal file → Executable file
0
tools/gpstest/test_laikad.py
Normal file → Executable file
0
tools/lib/kbhit.py
Normal file → Executable file
0
tools/lib/kbhit.py
Normal file → Executable file
0
tools/lib/tests/test_caching.py
Normal file → Executable file
0
tools/lib/tests/test_caching.py
Normal file → Executable file
0
tools/scripts/save_ubloxraw_stream.py
Normal file → Executable file
0
tools/scripts/save_ubloxraw_stream.py
Normal file → Executable file
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python3
|
||||
import ft4222
|
||||
import ft4222.I2CMaster
|
||||
|
||||
|
||||
Reference in New Issue
Block a user