Precommit: ensure executable bit is set (#1650)

* precommit ensure executable

* fix the violations

* the correct shebang
This commit is contained in:
Justin Newberry 2023-09-05 15:32:44 -07:00 committed by GitHub
parent 3ab4f43de0
commit 104d708547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 3 additions and 3 deletions

View File

@ -6,6 +6,8 @@ repos:
- id: check-yaml
- id: check-merge-conflict
- id: check-symlinks
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.5.1
hooks:

0
examples/tesla_tester.py Normal file → Executable file
View File

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python3
import sys
import time
import struct

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python3
import time
import struct
from collections import deque

0
tests/read_winusb_descriptors.py Normal file → Executable file
View File

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python3
import panda.tests.libpanda.libpanda_py as libpanda_py
from panda import Panda

View File

@ -1,3 +1,4 @@
#!/usr/bin/env python3
import random
import unittest