From 90189d25a89f1fe1680d67204a808a4e7d07c310 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Thu, 9 Feb 2023 10:10:54 +0100 Subject: [PATCH] Add pre-commit for executable --- {{cookiecutter.project_slug}}/.pre-commit-config.yaml | 2 ++ {{cookiecutter.project_slug}}/contrib/server/update | 0 2 files changed, 2 insertions(+) mode change 100644 => 100755 {{cookiecutter.project_slug}}/contrib/server/update diff --git a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml index c6540bb..f5be138 100644 --- a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml @@ -23,6 +23,8 @@ repos: - id: trailing-whitespace args: - --markdown-linebreak-ext=md + - id: check-executables-have-shebangs + - id: check-shebang-scripts-are-executable - repo: https://github.com/asottile/pyupgrade rev: v3.3.1 hooks: diff --git a/{{cookiecutter.project_slug}}/contrib/server/update b/{{cookiecutter.project_slug}}/contrib/server/update old mode 100644 new mode 100755