From 132357ac46ea4d3850bf4bb7e0fb14ad7807f1c6 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sat, 9 Sep 2023 14:32:42 +0300 Subject: [PATCH] Add check-executables-have-shebangs to pre-commit and remove executable flags --- .pre-commit-config.yaml | 1 + Tests/check_j2k_leaks.py | 0 Tests/images/negative_size.ppm | Bin _custom_build/backend.py | 0 4 files changed, 1 insertion(+) mode change 100755 => 100644 Tests/check_j2k_leaks.py mode change 100755 => 100644 Tests/images/negative_size.ppm mode change 100755 => 100644 _custom_build/backend.py diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f0957c73a..7fe5aacbe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -50,6 +50,7 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: + - id: check-executables-have-shebangs - id: check-merge-conflict - id: check-json - id: check-toml diff --git a/Tests/check_j2k_leaks.py b/Tests/check_j2k_leaks.py old mode 100755 new mode 100644 diff --git a/Tests/images/negative_size.ppm b/Tests/images/negative_size.ppm old mode 100755 new mode 100644 diff --git a/_custom_build/backend.py b/_custom_build/backend.py old mode 100755 new mode 100644