summaryrefslogtreecommitdiff
path: root/test/sanity/code-smell/shebang.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/sanity/code-smell/shebang.py')
-rwxr-xr-xtest/sanity/code-smell/shebang.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/sanity/code-smell/shebang.py b/test/sanity/code-smell/shebang.py
index 3501ede393..02be695b71 100755
--- a/test/sanity/code-smell/shebang.py
+++ b/test/sanity/code-smell/shebang.py
@@ -31,19 +31,6 @@ def main():
'.ps1': b'#!powershell',
}
- skip = set([
- 'test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/plugins/modules/win_csbasic_only.ps1',
- 'test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/plugins/modules/win_selfcontained.ps1',
- 'test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/plugins/modules/win_uses_coll_csmu.ps1',
- 'test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/plugins/modules/win_uses_coll_psmu.ps1',
- 'test/integration/targets/win_module_utils/library/legacy_only_new_way_win_line_ending.ps1',
- 'test/integration/targets/win_module_utils/library/legacy_only_old_way_win_line_ending.ps1',
- 'test/utils/shippable/timing.py',
- 'test/integration/targets/old_style_modules_posix/library/helloworld.sh',
- # The following are Python 3.6+. Only run by release engineers
- 'hacking/build-ansible.py',
- ])
-
# see https://unicode.org/faq/utf_bom.html#bom1
byte_order_marks = (
(b'\x00\x00\xFE\xFF', 'UTF-32 (BE)'),
@@ -54,9 +41,6 @@ def main():
)
for path in sys.argv[1:] or sys.stdin.read().splitlines():
- if path in skip:
- continue
-
with open(path, 'rb') as path_fd:
shebang = path_fd.readline().strip()
mode = os.stat(path).st_mode