Deadly simple Git hooks directory setup tool
Project description
set-git-hooks-dir pip package
Usage
See https://github.com/rhysd/set-git-hooks-dir#readme for the usage.
Limitation
The implementation of the package is a bit hacky to run git command within your repository on installing this package.
On pip install the source package is downloaded and built in a temporary directory outside your repository. So this
package somehow tries to find the location of your Git repository based on site-packages directory. This means that
the directory must exist in your repository. When it exists outside your repository because of making a Python virtual
environment outside your repository, this package can no longer know the location of your repository and cannot
configure the Git hooks.
License
This npm package is distributed under the MIT license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file set_git_hooks_dir-1.0.0.tar.gz.
File metadata
- Download URL: set_git_hooks_dir-1.0.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49578e47fb7864a40e5f6b76d016a84870e2ea6a0965dc6a20efa3106d8d9dc4
|
|
| MD5 |
d33855bbcadabaa6fd1a425414a15503
|
|
| BLAKE2b-256 |
6319327c41c3b5c9ad162f945fe4200c3d7f4e4bfea4b663961d52859bd0fb7a
|