There's a merged pull request on the void-packages repository hook: python-shebang: check for shebang in the first line only https://github.com/void-linux/void-packages/pull/17837 Description: - Grepping whole files is inefficient - git-instaweb (in git package) has the code to generate python file in a here doc in the middle of its code, old hook generates false positive with this package