Commit graph

3 commits

Author SHA1 Message Date
Kurt von Laven
9245e07a3e
Fix asymptomatic copy/paste bug in test.
check_shebang_scripts_are_executable_test.test_git_executable_shebang
manually filtered executable files out before calling
check_shebang_scripts_are_executable. This makes sense in
check_executables_have_shebangs.test_git_executable_shebang, because
the check-executables-have-shebangs hook only runs on executable files.
However, check-shebang-scripts-are-executable correctly runs on all text
files, so the test shouldn't filter executable files out. The test still
passed because when git ls-files is passed no files in particular, it
lists all files in the Git repository that satisfy the given filters.
2022-05-26 12:13:00 -07:00
Anthony Sottile
8f6152921e drop python3.6 support
python 3.6 reached end of life on 2021-12-23

Committed via https://github.com/asottile/all-repos
2022-01-15 19:24:05 -05:00
Ville Skyttä
391ae30a64 Add check for executability of scripts with shebangs
Closes https://github.com/pre-commit/pre-commit-hooks/issues/543
2021-05-04 18:45:43 -07:00