pre-commit / pre-commit/pre-commit-hooks
`check-shebang-scripts-are-executable` Assumes Git Repo
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 800
- PR merge metrics
- No merged PRs in 30d
Description
check-executables-have-shebangs supports being run on files outside of a Git repository, so it seems natural for check-shebang-scripts-are-executable to do the same. I would guess it's also slightly faster to check executable bits through the file system when it can be trusted to track them properly.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the implementations and tests for check-shebang-scripts-are-executable and compare them with check-executables-have-shebangs, beginning with how each hook handles paths outside a Git repository. Done means the executable-checking hook works outside Git and its behavior is covered by tests for filesystem executable bits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, python
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100