diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 99e971703..166ba5b3a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,10 +16,8 @@ repos: files: .*\.json$ - id: check-yaml files: .*\.(yaml|yml)$ - # FIXME(sean-k-mooney): we currently have some files - # with incorrect permission, resolve this in a follow up - # - id: check-executables-have-shebangs - # - id: check-shebang-scripts-are-executable + - id: check-executables-have-shebangs + - id: check-shebang-scripts-are-executable # git - id: check-added-large-files - id: check-case-conflict diff --git a/devstack/lib/watcher b/devstack/lib/watcher index ec1da4f45..2ced0968d 100644 --- a/devstack/lib/watcher +++ b/devstack/lib/watcher @@ -1,5 +1,3 @@ -#!/bin/bash -# # lib/watcher # Functions to control the configuration and operation of the watcher services diff --git a/devstack/plugin.sh b/devstack/plugin.sh index b58b6949b..17d6c1780 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -1,5 +1,3 @@ -#!/bin/bash -# # plugin.sh - DevStack plugin script to install watcher # Save trace setting diff --git a/devstack/upgrade/from_rocky/upgrade-watcher b/devstack/upgrade/from_rocky/upgrade-watcher index 9757c3c68..bfa41ce6e 100644 --- a/devstack/upgrade/from_rocky/upgrade-watcher +++ b/devstack/upgrade/from_rocky/upgrade-watcher @@ -1,5 +1,3 @@ -#!/usr/bin/env bash - # ``upgrade-watcher`` function configure_watcher_upgrade { diff --git a/watcher/applier/default.py b/watcher/applier/default.py old mode 100755 new mode 100644 diff --git a/watcher/common/clients.py b/watcher/common/clients.py old mode 100755 new mode 100644 diff --git a/watcher/conf/__init__.py b/watcher/conf/__init__.py old mode 100755 new mode 100644 diff --git a/watcher/conf/ironic_client.py b/watcher/conf/ironic_client.py old mode 100755 new mode 100644 diff --git a/watcher/conf/nova_client.py b/watcher/conf/nova_client.py old mode 100755 new mode 100644 diff --git a/watcher/decision_engine/strategy/strategies/base.py b/watcher/decision_engine/strategy/strategies/base.py old mode 100755 new mode 100644 diff --git a/watcher/tests/applier/action_plan/test_default_action_handler.py b/watcher/tests/applier/action_plan/test_default_action_handler.py old mode 100755 new mode 100644 diff --git a/watcher/tests/common/test_clients.py b/watcher/tests/common/test_clients.py old mode 100755 new mode 100644 diff --git a/watcher/tests/conf/test_list_opts.py b/watcher/tests/conf/test_list_opts.py old mode 100755 new mode 100644 diff --git a/watcher/tests/decision_engine/strategy/strategies/test_host_maintenance.py b/watcher/tests/decision_engine/strategy/strategies/test_host_maintenance.py old mode 100755 new mode 100644