Precommit: ensure executable bit is set (#29784)

* precommit ensure executable

* exclude tinygrad

* bump submodules

* exclude tinygrad globally
This commit is contained in:
Justin Newberry
2023-09-05 16:33:26 -07:00
committed by GitHub
parent 22487db9c8
commit 4e69937d0d
48 changed files with 12 additions and 18 deletions

0
.devcontainer/devcontainer.json Executable file → Normal file
View File

View 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

0
README.md Executable file → Normal file
View File

2
cereal

Submodule cereal updated: 4291784b4d...d469732b3b

0
common/params_pyx.pyx Executable file → Normal file
View File

Submodule opendbc updated: ef302f7183...5ebf73ebed

2
panda

Submodule panda updated: 3ab4f43de0...104d708547

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env python3
import math
from cereal import car
from openpilot.common.realtime import DT_CTRL

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env python3
from openpilot.selfdrive.car.interfaces import RadarInterfaceBase
class RadarInterface(RadarInterfaceBase):

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
from openpilot.selfdrive.car.isotp_parallel_query import IsoTpParallelQuery
from openpilot.system.swaglog import cloudlog

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env python3
from cereal import car
from panda import Panda
from openpilot.common.conversions import Conversions as CV

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env python3
from math import cos, sin
from cereal import car
from opendbc.can.parser import CANParser

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env python3
from cereal import car
from panda import Panda
from openpilot.common.conversions import Conversions as CV

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env python3
import math
from cereal import car

View File

@@ -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

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env python3
from openpilot.selfdrive.car.interfaces import RadarInterfaceBase
class RadarInterface(RadarInterfaceBase):

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env python3
from cereal import car
from panda import Panda
from openpilot.selfdrive.car import get_safety_config

View File

@@ -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
View File

View 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

View File

@@ -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
View File

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import math
import os
from enum import IntEnum

View File

0
selfdrive/controls/tests/test_following_distance.py Normal file → Executable file
View File

0
selfdrive/controls/tests/test_leads.py Normal file → Executable file
View File

0
selfdrive/locationd/liblocationd.cc Executable file → Normal file
View File

0
selfdrive/locationd/locationd.cc Executable file → Normal file
View File

0
selfdrive/locationd/locationd.h Executable file → Normal file
View File

0
selfdrive/locationd/models/live_kf.cc Executable file → Normal file
View File

0
selfdrive/locationd/models/live_kf.h Executable file → Normal file
View File

0
selfdrive/thermald/fan_controller.py Normal file → Executable file
View File

View 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
View File

0
system/loggerd/uploader.py Normal file → Executable file
View File

View 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
View File

0
system/version.py Normal file → Executable file
View File

0
third_party/libyuv/build.sh vendored Normal file → Executable file
View File

0
tools/gpstest/test_gps.py Normal file → Executable file
View File

0
tools/gpstest/test_gps_qcom.py Normal file → Executable file
View File

0
tools/gpstest/test_laikad.py Normal file → Executable file
View File

0
tools/lib/kbhit.py Normal file → Executable file
View File

0
tools/lib/tests/test_caching.py Normal file → Executable file
View File

0
tools/scripts/save_ubloxraw_stream.py Normal file → Executable file
View File

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env python3
import ft4222
import ft4222.I2CMaster