Add check executables have shebangs (in pre-commit and CI) (#33703)

* Add check executables have shebangs (in pre-commit and CI)

* Fix file permissions

* Adjust Azure Pipelines
This commit is contained in:
Franck Nijhof 2020-04-05 18:45:43 +02:00 committed by GitHub
parent f89c73d79d
commit d33cf28936
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 11 additions and 1 deletions

View file

@ -68,7 +68,12 @@ enum34==1000000000.0.0
pycrypto==1000000000.0.0
"""
IGNORE_PRE_COMMIT_HOOK_ID = ("check-json", "no-commit-to-branch", "prettier")
IGNORE_PRE_COMMIT_HOOK_ID = (
"check-executables-have-shebangs",
"check-json",
"no-commit-to-branch",
"prettier",
)
def has_tests(module: str):