Trivial demo tasks for git users.
Project description
# flowtool-githooks-demo
This package contains some example git hooks.
The hooks are made runnable via console_scripts entry points. The hooks are also recognized by the flowtool-githooks management via entry points. That just means for a user of this tool, that the hooks will show up in the ft githooks-scripts menu automatically, and can also be run via their name from the command line.
## _flowtool_githooks.demo
A git hook to showcase the possibilities of git hooks. It prints its (command line) arguments and various information that may or may not be interesting to someone developing a hook for his own purposes.
As one main feature, it reads it’s standard input non-blocking and outputs it if there is anything, since only some hooks get additional information passed in via stdin.
## _flowtool_githooks.demo_fail
A git hook that will always fail.
Good to test what a non-zero exit status will do for certain hooks.
## _flowtool_githooks.shellcheck
A step towards a collection of git hooks, that wrap code checkers. This one wraps shellcheck, a shell script syntax, style and security checker.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for flowtool-githooks-demo-0.7.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6281737cbd6aec2e91df417dd9e1250da02a6ed7b7714b27495540bc44942858 |
|
MD5 | 719421e4baafd8f435f93050dfe3cd23 |
|
BLAKE2b-256 | 5a7bb30bcb5328323d7fba20e0c81d30c50157728ec95d64723bd8dc8600bf68 |