mirror of https://github.com/commaai/panda.git
Precommit: ensure executable bit is set (#1650)
* precommit ensure executable * fix the violations * the correct shebang
This commit is contained in:
parent
3ab4f43de0
commit
104d708547
|
@ -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:
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env python3
|
||||
import sys
|
||||
import time
|
||||
import struct
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env python3
|
||||
import time
|
||||
import struct
|
||||
from collections import deque
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env python3
|
||||
import panda.tests.libpanda.libpanda_py as libpanda_py
|
||||
from panda import Panda
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env python3
|
||||
import random
|
||||
import unittest
|
||||
|
||||
|
|
Loading…
Reference in New Issue